summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SecureTransportTransceiverI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/SecureTransportTransceiverI.cpp')
-rw-r--r--cpp/src/IceSSL/SecureTransportTransceiverI.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/cpp/src/IceSSL/SecureTransportTransceiverI.cpp b/cpp/src/IceSSL/SecureTransportTransceiverI.cpp
index d5e4f039eeb..38f9e4cc70a 100644
--- a/cpp/src/IceSSL/SecureTransportTransceiverI.cpp
+++ b/cpp/src/IceSSL/SecureTransportTransceiverI.cpp
@@ -418,14 +418,8 @@ IceSSL::TransceiverI::read(IceInternal::Buffer& buf, bool&)
return IceInternal::SocketOperationRead;
}
- if(err == errSSLClosedGraceful || err == errSSLClosedAbort ||
- err == errSSLPeerBadRecordMac || err == errSSLPeerDecryptionFail)
+ if(err == errSSLClosedGraceful || err == errSSLClosedAbort)
{
- //
- // Forcefully closing a connection can result in SSLRead reporting
- // "decryption failed or bad record mac". We trap that error and
- // treat it as the loss of a connection.
- //
throw ConnectionLostException(__FILE__, __LINE__, 0);
}