Fix manpage problems
[openssl.git] / crypto / init.c
index fb7e3ace8790063d2c8542af9736b39f5c70f824..2c8b48ff5b4f88e49f09d1941209792c088a3c63 100644 (file)
@@ -370,9 +370,9 @@ static void ossl_init_thread_stop(struct thread_local_inits_st *locals)
     if (locals->async) {
 #ifdef OPENSSL_INIT_DEBUG
         fprintf(stderr, "OPENSSL_INIT: ossl_init_thread_stop: "
-                        "ASYNC_cleanup_thread()\n");
+                        "async_delete_thread_state()\n");
 #endif
-        ASYNC_cleanup_thread();
+        async_delete_thread_state();
     }
 
     if (locals->err_state) {