fix build on older OpenSSL
authorJeremy Harris <jgh146exb@wizmail.org>
Wed, 13 Nov 2019 12:59:52 +0000 (12:59 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Wed, 13 Nov 2019 12:59:52 +0000 (12:59 +0000)
src/src/tls-openssl.c

index db154448fcb09e0d04ba1068a3209db64d38ff4b..bef3fb4f1652a27b0c726f7f4faf9328debbcb55 100644 (file)
@@ -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