aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/openssl.c2
1 files changed, 1 insertions, 1 deletions
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