From: Richard Levitte <levitte@openssl.org>
Date: Sat, 5 Oct 2002 20:54:09 +0000 (+0000)
Subject: For some reason, the random number support removed the destructor
X-Git-Tag: OpenSSL_0_9_7-beta4~140^2~21
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6fed88113b50aaa4e76e35757f177bef19eb02de;p=oweals%2Fopenssl.git

For some reason, the random number support removed the destructor
---

diff --git a/crypto/engine/hw_cswift.c b/crypto/engine/hw_cswift.c
index 31b6250dd0..f925707a24 100644
--- a/crypto/engine/hw_cswift.c
+++ b/crypto/engine/hw_cswift.c
@@ -225,6 +225,7 @@ static int bind_helper(ENGINE *e)
 			!ENGINE_set_DH(e, &cswift_dh) ||
 #endif
 			!ENGINE_set_RAND(e, &cswift_random) ||
+			!ENGINE_set_destroy_function(e, cswift_destroy) ||
 			!ENGINE_set_init_function(e, cswift_init) ||
 			!ENGINE_set_finish_function(e, cswift_finish) ||
 			!ENGINE_set_ctrl_function(e, cswift_ctrl) ||