From d36d78f74c537c317528bc68ea734997054c6411 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 31 Aug 2017 02:32:53 +1000 Subject: In compat_init we only need to anchor if we use CRYPTO_get_ex_new_index --- src/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/openssl.c b/src/openssl.c index 1ef10e1..cea38a5 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -1921,6 +1921,7 @@ static int compat_init(void) { if (done) goto epilog; +#if defined compat_X509_STORE_free /* * We need to unconditionally install at least one external * application data callback. Because these can never be @@ -1929,7 +1930,6 @@ static int compat_init(void) { if ((error = dl_anchor())) goto epilog; -#if defined compat_X509_STORE_free /* * Test if X509_STORE_free obeys reference counts by installing an * onfree callback. -- cgit v1.2.3-55-g6feb