unload modules in ssltest

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Dr. Stephen Henson 2015-12-22 03:49:02 +00:00
parent a2074b9287
commit a470fdab6d

View File

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