diff options
Diffstat (limited to 'src/openssl.c')
-rw-r--r-- | src/openssl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openssl.c b/src/openssl.c index 01e1840..18a59ad 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -1903,6 +1903,7 @@ static void compat_init_SSL_CTX_onfree(void *_ctx, void *data NOTUSED, CRYPTO_EX #endif +#if defined compat_X509_STORE_free /* helper routine to determine if X509_STORE_free obeys reference count */ static void compat_init_X509_STORE_onfree(void *store, void *data NOTUSED, CRYPTO_EX_DATA *ad NOTUSED, int idx NOTUSED, long argl NOTUSED, void *argp NOTUSED) { /* unfortunately there's no way to remove a handler */ @@ -1912,6 +1913,8 @@ static void compat_init_X509_STORE_onfree(void *store, void *data NOTUSED, CRYPT /* signal that we were freed by nulling our reference */ compat.tmp.store = NULL; } /* compat_init_X509_STORE_onfree() */ +#endif + #if !HAVE_X509_STORE_UP_REF #define X509_STORE_up_ref(...) EXPAND( compat_X509_STORE_up_ref(__VA_ARGS__) ) |