[exim-cvs] fix build on older OpenSSL

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] fix build on older OpenSSL
Gitweb: https://git.exim.org/exim.git/commitdiff/f374b08a8eb32aebe9d3a4a0455313ca911c3ff8
Commit:     f374b08a8eb32aebe9d3a4a0455313ca911c3ff8
Parent:     539b267ab4ed311591f5639965dd5c9b22e50979
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Wed Nov 13 12:59:52 2019 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Wed Nov 13 12:59:52 2019 +0000


    fix build on older OpenSSL
---
 src/src/tls-openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index db15444..bef3fb4 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