aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-03-27 15:15:02 +1100
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-03-27 15:15:02 +1100
commite632369c52cbfa14f62e70838a48f586a82c0230 (patch)
tree01384a91413efd7cfc7fb13a4d8b409a0686eb36 /src
parent1ae707300bf99805bd93744020c60cf60cdc2294 (diff)
downloadluaossl-e632369c52cbfa14f62e70838a48f586a82c0230.tar.gz
luaossl-e632369c52cbfa14f62e70838a48f586a82c0230.tar.bz2
luaossl-e632369c52cbfa14f62e70838a48f586a82c0230.zip
src/openssl.c: openssl 1.1.1 has SSL_CTX_set1_cert_store
Added in https://github.com/openssl/openssl/pull/1755
Diffstat (limited to 'src')
-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