summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SChannelTransceiverI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/SChannelTransceiverI.cpp')
-rw-r--r--cpp/src/IceSSL/SChannelTransceiverI.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/cpp/src/IceSSL/SChannelTransceiverI.cpp b/cpp/src/IceSSL/SChannelTransceiverI.cpp
index 3f7c9e68077..7939d7a9bb6 100644
--- a/cpp/src/IceSSL/SChannelTransceiverI.cpp
+++ b/cpp/src/IceSSL/SChannelTransceiverI.cpp
@@ -535,15 +535,6 @@ IceSSL::TransceiverI::decryptMessage(IceInternal::Buffer& buffer)
//
throw ConnectionLostException(__FILE__, __LINE__, 0);
}
- else if(err == SEC_E_MESSAGE_ALTERED || err == SEC_E_DECRYPT_FAILURE)
- {
- //
- // Forcefully closing a connection can result in SSL_read
- // 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);
- }
else if(err != SEC_E_OK)
{
throw ProtocolException(__FILE__, __LINE__, "IceSSL: protocol error during read:\n" +