Auto init/deinit libcrypto
[openssl.git] / apps / s_server.c
index f07c8f61a96bf1befb6597227d15ef28c59a7524..368558637dc7b0c15ad522bed6ef2bfe61a7e8d6 100644 (file)
@@ -1721,7 +1721,6 @@ int s_server_main(int argc, char *argv[])
 
     if (async) {
         SSL_CTX_set_mode(ctx, SSL_MODE_ASYNC);
-        ASYNC_init(1, 0, 0);
     }
 
 #ifndef OPENSSL_NO_SRTP
@@ -2026,9 +2025,6 @@ int s_server_main(int argc, char *argv[])
     bio_s_out = NULL;
     BIO_free(bio_s_msg);
     bio_s_msg = NULL;
-    if (async) {
-        ASYNC_cleanup(1);
-    }
     return (ret);
 }