From: Nick Mathewson Date: Tue, 23 Jan 2018 19:43:06 +0000 (-0500) Subject: openssl_mutexes code belongs in openssl_mgt.c X-Git-Tag: tor-0.3.3.1-alpha~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=23473f5e747a2d9fa2a2a4637283eb53a8c84ca6;p=thirdparty%2Ftor.git openssl_mutexes code belongs in openssl_mgt.c --- diff --git a/src/common/crypto.c b/src/common/crypto.c index 3ff3a98e0d..107b53ad29 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -3352,20 +3352,6 @@ crypto_global_cleanup(void) CONF_modules_unload(1); CRYPTO_cleanup_all_ex_data(); -#ifndef NEW_THREAD_API - if (n_openssl_mutexes_) { - int n = n_openssl_mutexes_; - tor_mutex_t **ms = openssl_mutexes_; - int i; - openssl_mutexes_ = NULL; - n_openssl_mutexes_ = 0; - for (i=0;i