summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-01-14 21:13:01 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2016-01-14 21:13:01 +0000
commita57b620090bf63a65f16624dcaeb883b4f4a0346 (patch)
tree1a929f6b26ce6379e3ee2e372882585e54b88671 /src
parent731c6a90439a22e26418f75ce9207a0c8ab112dc (diff)
OpenSSL: Default the SINGLE_DH_USE option flag set
Diffstat (limited to 'src')
-rw-r--r--src/src/tls-openssl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index 9944a8f60..3ecb6cb3f 100644
--- a/src/src/tls-openssl.c
+++ b/src/src/tls-openssl.c
@@ -2751,6 +2751,9 @@ result = 0L;
#ifdef SSL_OP_NO_SSLv2
result |= SSL_OP_NO_SSLv2;
#endif
+#ifdef SSL_OP_SINGLE_DH_USE
+result |= SSL_OP_SINGLE_DH_USE;
+#endif
if (option_spec == NULL)
{