aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/init.c')
-rw-r--r--crypto/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/init.c b/crypto/init.c
index d3167804d9..404d9c0e95 100644
--- a/crypto/init.c
+++ b/crypto/init.c
@@ -490,7 +490,9 @@ void OPENSSL_cleanup(void)
ENGINE_cleanup();
#endif
CRYPTO_cleanup_all_ex_data();
+#ifndef OPENSSL_NO_SOCK
BIO_sock_cleanup();
+#endif
EVP_cleanup();
OBJ_cleanup();
base_inited = 0;