unload modules in ssltest
authorDr. Stephen Henson <steve@openssl.org>
Tue, 22 Dec 2015 03:49:02 +0000 (03:49 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 22 Dec 2015 15:14:14 +0000 (15:14 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
test/ssltest.c

index fd356c7d475455c1b6b7a97797e483c9c8b0a4f1..01b6058648a67ffee1a1690203bf2a44561ccc0c 100644 (file)
@@ -1711,6 +1711,7 @@ int main(int argc, char *argv[])
 #ifndef OPENSSL_NO_ENGINE
     ENGINE_cleanup();
 #endif
 #ifndef OPENSSL_NO_ENGINE
     ENGINE_cleanup();
 #endif
+    CONF_modules_unload(1);
     CRYPTO_cleanup_all_ex_data();
     ERR_free_strings();
     ERR_remove_thread_state(NULL);
     CRYPTO_cleanup_all_ex_data();
     ERR_free_strings();
     ERR_remove_thread_state(NULL);