Blame SOURCES/0042-When-handling-FEAT-command-check-ssl_tlsv1_1-and-ssl.patch

ab00cd
From 1c280a0b04e58ec63ce9ab5eb8d0ffe5ebbae115 Mon Sep 17 00:00:00 2001
ab00cd
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
ab00cd
Date: Thu, 21 Dec 2017 14:29:25 +0100
ab00cd
Subject: [PATCH 42/59] When handling FEAT command, check ssl_tlsv1_1 and
ab00cd
 ssl_tlsv1_2
ab00cd
ab00cd
Send 'AUTH SSL' in reply to the FEAT command when the ssl_tlsv1_1
ab00cd
or ssl_tlsv1_2 configuration option is enabled.
ab00cd
ab00cd
The patch was written by Martin Sehnoutka.
ab00cd
ab00cd
Resolves: rhbz#1432054
ab00cd
---
ab00cd
 features.c | 2 +-
ab00cd
 1 file changed, 1 insertion(+), 1 deletion(-)
ab00cd
ab00cd
diff --git a/features.c b/features.c
ab00cd
index 1212980..d024366 100644
ab00cd
--- a/features.c
ab00cd
+++ b/features.c
ab00cd
@@ -22,7 +22,7 @@ handle_feat(struct vsf_session* p_sess)
ab00cd
     {
ab00cd
       vsf_cmdio_write_raw(p_sess, " AUTH SSL\r\n");
ab00cd
     }
ab00cd
-    if (tunable_tlsv1)
ab00cd
+    if (tunable_tlsv1 || tunable_tlsv1_1 || tunable_tlsv1_2)
ab00cd
     {
ab00cd
       vsf_cmdio_write_raw(p_sess, " AUTH TLS\r\n");
ab00cd
     }
ab00cd
-- 
ab00cd
2.14.4
ab00cd