blob: cd4532bb97abaa682f3ce202915aee4213b36985 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From aa68b2d620ef0c83c7f52213c7e6093722b0b8bd Mon Sep 17 00:00:00 2001
From: Frank Denis <github@pureftpd.org>
Date: Wed, 24 Oct 2018 19:19:26 +0200
Subject: [PATCH] Disable TLSv1_1
---
src/tls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tls.c b/src/tls.c
index f383ed9..c4e2a1b 100644
--- a/src/tls.c
+++ b/src/tls.c
@@ -297,7 +297,7 @@ int tls_init_library(void)
SSL_CTX_set_options(tls_ctx, SSL_OP_NO_TLSv1);
# endif
# ifdef SSL_OP_NO_TLSv1_1
- SSL_CTX_clear_options(tls_ctx, SSL_OP_NO_TLSv1_1);
+ SSL_CTX_set_options(tls_ctx, SSL_OP_NO_TLSv1_1);
# endif
# ifdef SSL_OP_NO_TLSv1_2
SSL_CTX_clear_options(tls_ctx, SSL_OP_NO_TLSv1_2);
|