From f6f53dce101cd431aa102fdae3f451a679d8da41 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 30 Sep 2014 11:30:31 +0200 Subject: Fixed (ICE-5696) - Trying to connect openssl 0.9.8 client to OS X secure transport fails --- cpp/src/IceSSL/SecureTransportEngine.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cpp/src/IceSSL/SecureTransportEngine.cpp') diff --git a/cpp/src/IceSSL/SecureTransportEngine.cpp b/cpp/src/IceSSL/SecureTransportEngine.cpp index 75d2e0013dc..7a4d16d7c5e 100644 --- a/cpp/src/IceSSL/SecureTransportEngine.cpp +++ b/cpp/src/IceSSL/SecureTransportEngine.cpp @@ -753,11 +753,7 @@ CiphersHelper::ciphers() SSLProtocol parseProtocol(const string& prot) { - if(prot == "ssl2" || prot == "sslv2") - { - return kSSLProtocol2; - } - else if(prot == "ssl3" || prot == "sslv3") + if(prot == "ssl3" || prot == "sslv3") { return kSSLProtocol3; } -- cgit v1.2.3