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

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