mirror of https://github.com/openssl/openssl.git
				
				
				
			Fixed unmatched BN_CTX_start/end if an invalid exponent is used.
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8569)
This commit is contained in:
		
							parent
							
								
									711a161f03
								
							
						
					
					
						commit
						952abb1521
					
				|  | @ -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 -
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue