mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Fix double free on RSA_generate_key_ex failure
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user