mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Fix double free on RSA_generate_key_ex failure
This commit is contained in:
parent
955ca7382d
commit
01cc622e7b
@ -11,7 +11,6 @@
|
||||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id$
|
||||
*/
|
||||
#ifdef OPENSSL
|
||||
#include <config.h>
|
||||
@ -1054,7 +1053,6 @@ opensslrsa_generate(dst_key_t *key, int exp, void (*callback)(int)) {
|
||||
#endif
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
BN_GENCB_free(cb);
|
||||
ret = dst__openssl_toresult2("RSA_generate_key_ex",
|
||||
DST_R_OPENSSLFAILURE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user