From e632369c52cbfa14f62e70838a48f586a82c0230 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Tue, 27 Mar 2018 15:15:02 +1100 Subject: src/openssl.c: openssl 1.1.1 has SSL_CTX_set1_cert_store Added in https://github.com/openssl/openssl/pull/1755 --- src/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openssl.c b/src/openssl.c index f821170..8c132d5 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -298,7 +298,7 @@ #endif #ifndef HAVE_SSL_CTX_SET1_CERT_STORE -#define HAVE_SSL_CTX_SET1_CERT_STORE (HAVE_SSL_CTX_set1_cert_store || 0) /* backwards compatible with old macro name */ +#define HAVE_SSL_CTX_SET1_CERT_STORE (HAVE_SSL_CTX_set1_cert_store || OPENSSL_PREREQ(1,1,1)) /* backwards compatible with old macro name */ #endif #ifndef HAVE_SSL_CTX_SET1_PARAM -- cgit v1.2.3-59-g8ed1b