aboutsummaryrefslogtreecommitdiffstats
path: root/src/openssl.c
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2019-02-14 14:11:43 +1100
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2019-02-14 16:10:59 +1100
commitfeb050aeec4301f6febd576bf8321bd81eaf5e42 (patch)
tree63b67708e5bf704fc1c68ba0a454b0a4b7588a84 /src/openssl.c
parent8eaf1a460901645345e960223f9e1de7f9652376 (diff)
downloadluaossl-feb050aeec4301f6febd576bf8321bd81eaf5e42.tar.gz
luaossl-feb050aeec4301f6febd576bf8321bd81eaf5e42.tar.bz2
luaossl-feb050aeec4301f6febd576bf8321bd81eaf5e42.zip
src/openssl.c: libressl gained SSL_get_server_tmp_key in 2.5.3
Diffstat (limited to 'src/openssl.c')
-rw-r--r--src/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openssl.c b/src/openssl.c
index 082e450..9e0447f 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -444,7 +444,7 @@
#endif
#ifndef HAVE_SSL_GET_SERVER_TMP_KEY
-#define HAVE_SSL_GET_SERVER_TMP_KEY OPENSSL_PREREQ(1,0,2)
+#define HAVE_SSL_GET_SERVER_TMP_KEY (OPENSSL_PREREQ(1,0,2) || LIBRESSL_PREREQ(2,5,3))
#endif
#ifndef HAVE_SSL_GET_TLSEXT_STATUS_TYPE