mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
c6b09ea0fe
In 1.1.1 the ctrl EVP_PKEY_CTRL_RSA_KEYGEN_BITS would fail immediately if the number of bits was too small. In 3.0 it always succeeds, and only fails later during the key generation stage. We fix that so that it fails early like it used to in 1.1.1. Note that in 1.1.1 it fails with a -2 return code. That is not the case in 3.0 and has not been addressed here (see #14442) Fixes #14443 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14702) |
||
---|---|---|
.. | ||
build.info | ||
dh_kmgmt.c | ||
dsa_kmgmt.c | ||
ec_kmgmt_imexport.inc | ||
ec_kmgmt.c | ||
ecx_kmgmt.c | ||
kdf_legacy_kmgmt.c | ||
mac_legacy_kmgmt.c | ||
rsa_kmgmt.c |