X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=crypto%2Frsa%2Frsa_sp800_56b_gen.c;h=50c5bf14bea20aa65733add915e740303d565660;hb=952abb152189715f7b035d5446af947ec41e8a4b;hp=221136bd0c500712a6d35b2452fa279f101585d0;hpb=711a161f03ef9ed7cd149a22bf1203700c103e96;p=openssl.git diff --git a/crypto/rsa/rsa_sp800_56b_gen.c b/crypto/rsa/rsa_sp800_56b_gen.c index 221136bd0c..50c5bf14be 100644 --- a/crypto/rsa/rsa_sp800_56b_gen.c +++ b/crypto/rsa/rsa_sp800_56b_gen.c @@ -71,7 +71,7 @@ int rsa_fips186_4_gen_prob_primes(RSA *rsa, BIGNUM *p1, BIGNUM *p2, if (!rsa_check_public_exponent(e)) { RSAerr(RSA_F_RSA_FIPS186_4_GEN_PROB_PRIMES, RSA_R_PUB_EXPONENT_OUT_OF_RANGE); - goto err; + return 0; } /* (Step 3) Determine strength and check rand generator strength is ok -