From 8f841c70c45850f2ff41a99f228a2a49f47b636a Mon Sep 17 00:00:00 2001
From: Richard Levitte <levitte@openssl.org>
Date: Wed, 9 Oct 2002 12:19:13 +0000
Subject: [PATCH] The dissapearing destroy callback reappears

---
 crypto/engine/hw_cswift.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/engine/hw_cswift.c b/crypto/engine/hw_cswift.c
index 36b59b165f..1b4e4e876e 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) ||
-- 
2.25.1