summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-11-13 12:59:52 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2019-11-13 12:59:52 +0000
commitf374b08a8eb32aebe9d3a4a0455313ca911c3ff8 (patch)
treea4b89b8f29c9654f7023810369d8083b76d7b52d
parent539b267ab4ed311591f5639965dd5c9b22e50979 (diff)
fix build on older OpenSSL
-rw-r--r--src/src/tls-openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index db154448f..bef3fb4f1 100644
--- a/src/src/tls-openssl.c
+++ b/src/src/tls-openssl.c
@@ -3995,7 +3995,7 @@ result |= SSL_OP_NO_SSLv3;
#ifdef SSL_OP_SINGLE_DH_USE
result |= SSL_OP_SINGLE_DH_USE;
#endif
-#ifdef SSL_OP_SINGLE_DH_USE
+#ifdef SSL_OP_NO_RENEGOTIATION
result |= SSL_OP_NO_RENEGOTIATION;
#endif