openssl/demos/pkey
Quin-Darcy 42a321331b 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:31 +02:00
..
EVP_PKEY_DSA_keygen.c Copyright year updates 2024-09-05 09:35:49 +02:00
EVP_PKEY_DSA_paramfromdata.c Copyright year updates 2023-09-07 09:59:15 +01:00
EVP_PKEY_DSA_paramgen.c Copyright year updates 2023-09-07 09:59:15 +01:00
EVP_PKEY_DSA_paramvalidate.c Copyright year updates 2024-09-05 09:35:49 +02:00
EVP_PKEY_EC_keygen.c Copyright year updates 2023-09-07 09:59:15 +01:00
EVP_PKEY_RSA_keygen.c Fix RSA key size validation in EVP_PKEY_RSA_keygen demo 2025-08-11 16:46:31 +02:00
Makefile demos: tidy up makefiles, fix warnings 2023-11-15 08:43:23 +01:00
build.info Convert demos to primary build system 2024-04-12 08:02:19 -04:00
dsa.inc Add Demos for DSA params/DSA keygen. 2022-12-22 12:09:31 +01:00