working through some issues
[feisty_meow.git] / nucleus / library / crypto / ssl_init.cpp
index 128cd54d1056cbf2778155575204c311c32fdfc9..abb62ad6e6ab68617da466e03cf405e86c843563 100644 (file)
@@ -67,11 +67,15 @@ ssl_init::ssl_init()
 
 ssl_init::~ssl_init()
 {
-  FUNCDEF("dtor");
+  FUNCDEF("destructor");
   LOG("prior to crypto cleanup");
   CRYPTO_cleanup_all_ex_data();
-  LOG("prior to err remove state");
-  ERR_remove_state(0);
+
+//hmmm: deprecated
+//  LOG("prior to err remove state");
+//  ERR_remove_thread_state(NULL);
+
+
 //THIS HAD TO be removed in most recent openssl; does it exist?
 //  LOG("prior to mem leaks fp");
 //  CRYPTO_mem_leaks_fp(stderr);