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 db15444..bef3fb4 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