aboutsummaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index cd070b164d..7a41a931f7 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -363,7 +363,9 @@ tor_tls_context_new(crypto_pk_env_t *identity,
goto error;
SSL_CTX_set_options(*ctx, SSL_OP_NO_SSLv2);
#endif
+#ifndef ENABLE_0119_PARANOIA
SSL_CTX_set_options(*ctx, SSL_OP_SINGLE_DH_USE);
+#endif
if (!SSL_CTX_set_cipher_list(*ctx, CIPHER_LIST))
goto error;
if (!client_only) {