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

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