summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/src/IceSSL/SecureTransportEngine.cpp6
1 files changed, 1 insertions, 5 deletions
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;
}