From 90f04c984e78b9ef791b8fe72f471abaf3bb2fc7 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Thu, 12 Mar 2015 10:46:51 -0400 Subject: [PATCH] libeap: don't shut down openssl we're a library. It's antisocial to close down openssl application wide just because one eap state machine is ending. --- libeap/src/crypto/tls_openssl.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libeap/src/crypto/tls_openssl.c b/libeap/src/crypto/tls_openssl.c index c0a40f9..d155c09 100644 --- a/libeap/src/crypto/tls_openssl.c +++ b/libeap/src/crypto/tls_openssl.c @@ -767,13 +767,7 @@ void tls_deinit(void *ssl_ctx) tls_openssl_ref_count--; if (tls_openssl_ref_count == 0) { -#ifndef OPENSSL_NO_ENGINE - ENGINE_cleanup(); -#endif /* OPENSSL_NO_ENGINE */ - CRYPTO_cleanup_all_ex_data(); ERR_remove_state(0); - ERR_free_strings(); - EVP_cleanup(); os_free(tls_global); tls_global = NULL; } -- 2.1.4