mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +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 | ||
rsa_acvp_test_params.c | ||
rsa_ameth.c | ||
rsa_asn1.c | ||
rsa_backend.c | ||
rsa_chk.c | ||
rsa_crpt.c | ||
rsa_depr.c | ||
rsa_err.c | ||
rsa_gen.c | ||
rsa_lib.c | ||
rsa_local.h | ||
rsa_meth.c | ||
rsa_mp_names.c | ||
rsa_mp.c | ||
rsa_none.c | ||
rsa_oaep.c | ||
rsa_ossl.c | ||
rsa_pk1.c | ||
rsa_pmeth.c | ||
rsa_prn.c | ||
rsa_pss.c | ||
rsa_saos.c | ||
rsa_schemes.c | ||
rsa_sign.c | ||
rsa_sp800_56b_check.c | ||
rsa_sp800_56b_gen.c | ||
rsa_x931.c | ||
rsa_x931g.c |