For some reason, the random number support removed the destructor
[openssl.git] / crypto / engine / hw_cswift.c
index 31b6250dd0a2e07b1fea70efc6c76caf6ebddf26..f925707a2456cba1ffda5b3459a276d72d606d9c 100644 (file)
@@ -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) ||