diff options
author | daurnimator <quae@daurnimator.com> | 2017-08-31 02:32:53 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-08-31 02:32:53 +1000 |
commit | d36d78f74c537c317528bc68ea734997054c6411 (patch) | |
tree | fc014c649adcf48ccce8bba9aaf61ed998481c98 /src | |
parent | dbb042053c531d7df2d4254f273ffb9dae269f58 (diff) | |
download | luaossl-d36d78f74c537c317528bc68ea734997054c6411.tar.gz luaossl-d36d78f74c537c317528bc68ea734997054c6411.tar.bz2 luaossl-d36d78f74c537c317528bc68ea734997054c6411.zip |
In compat_init we only need to anchor if we use CRYPTO_get_ex_new_index
Diffstat (limited to 'src')
-rw-r--r-- | src/openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. |