openssl/demos/pkey
Quin-Darcy a0ce39d9fd Fix RSA key size validation in EVP_PKEY_RSA_keygen demo
The validation was checking the default 'bits' value (4096) instead of
the parsed 'bits_i' from the command line arguments, allowing invalid
key sizes to bypass the 512-bit minimum.

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/28139)

(cherry picked from commit c79e1b212a)
2025-08-11 16:46:25 +02:00
..
EVP_PKEY_DSA_keygen.c Copyright year updates 2024-09-05 09:35:49 +02:00
EVP_PKEY_DSA_paramfromdata.c
EVP_PKEY_DSA_paramgen.c
EVP_PKEY_DSA_paramvalidate.c Copyright year updates 2024-09-05 09:35:49 +02:00
EVP_PKEY_EC_keygen.c
EVP_PKEY_RSA_keygen.c Fix RSA key size validation in EVP_PKEY_RSA_keygen demo 2025-08-11 16:46:25 +02:00
Makefile
build.info Convert demos to primary build system 2024-04-12 08:02:19 -04:00
dsa.inc