Blame SOURCES/0030-retrace-client-stop-failing-on-SSL2.patch

b404a9
From a0a65dcc1091dc5a1ad06f4e6b8eb90f47eef98f Mon Sep 17 00:00:00 2001
b404a9
From: Jakub Filak <jfilak@redhat.com>
b404a9
Date: Tue, 4 Feb 2014 13:03:21 +0100
b404a9
Subject: [ABRT PATCH 30/30] retrace-client: stop failing on SSL2
b404a9
b404a9
Closes rhbz#1060796
b404a9
b404a9
Signed-off-by: Jakub Filak <jfilak@redhat.com>
b404a9
---
b404a9
 src/plugins/https-utils.c | 9 +++++----
b404a9
 1 file changed, 5 insertions(+), 4 deletions(-)
b404a9
b404a9
diff --git a/src/plugins/https-utils.c b/src/plugins/https-utils.c
b404a9
index cb3c606..f1fe825 100644
b404a9
--- a/src/plugins/https-utils.c
b404a9
+++ b/src/plugins/https-utils.c
b404a9
@@ -213,12 +213,13 @@ void ssl_connect(struct https_cfg *cfg, PRFileDesc **tcp_sock, PRFileDesc **ssl_
b404a9
         error_msg_and_die(_("Failed to wrap TCP socket by SSL."));
b404a9
     if (SECSuccess != SSL_OptionSet(*ssl_sock, SSL_HANDSHAKE_AS_CLIENT, PR_TRUE))
b404a9
         error_msg_and_die(_("Failed to enable client handshake to SSL socket."));
b404a9
-    if (SECSuccess != SSL_OptionSet(*ssl_sock, SSL_ENABLE_SSL2, PR_TRUE))
b404a9
-        error_msg_and_die(_("Failed to enable client handshake to SSL socket."));
b404a9
+    // https://bugzilla.redhat.com/show_bug.cgi?id=1033024#c6
b404a9
+    //if (SECSuccess != SSL_OptionSet(*ssl_sock, SSL_ENABLE_SSL2, PR_TRUE))
b404a9
+    //    error_msg_and_die(_("Failed to enable SSL2."));
b404a9
     if (SECSuccess != SSL_OptionSet(*ssl_sock, SSL_ENABLE_SSL3, PR_TRUE))
b404a9
-        error_msg_and_die(_("Failed to enable client handshake to SSL socket."));
b404a9
+        error_msg_and_die(_("Failed to enable SSL3."));
b404a9
     if (SECSuccess != SSL_OptionSet(*ssl_sock, SSL_ENABLE_TLS, PR_TRUE))
b404a9
-        error_msg_and_die(_("Failed to enable client handshake to SSL socket."));
b404a9
+        error_msg_and_die(_("Failed to enable TLS."));
b404a9
     if (SECSuccess != SSL_SetURL(*ssl_sock, cfg->url))
b404a9
         error_msg_and_die(_("Failed to set URL to SSL socket."));
b404a9
 
b404a9
-- 
b404a9
1.8.3.1
b404a9