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 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