mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 02:39:59 -04:00
Fix double free on RSA_generate_key_ex failure
This commit is contained in:
parent
955ca7382d
commit
01cc622e7b
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Reference in a new issue