summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SChannelTransceiverI.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-10-20 10:26:19 +0200
committerJose <jose@zeroc.com>2014-10-20 10:26:19 +0200
commit75e063aa116287f555894b6468fdf053e263b17b (patch)
treee6cc6b0fdebde9bca90d40f7b270e1e880344832 /cpp/src/IceSSL/SChannelTransceiverI.cpp
parentfirst round of RPM changes for 3.6 (diff)
downloadice-75e063aa116287f555894b6468fdf053e263b17b.tar.bz2
ice-75e063aa116287f555894b6468fdf053e263b17b.tar.xz
ice-75e063aa116287f555894b6468fdf053e263b17b.zip
Fixed (ICE-5695) - IceSSL: misleading exception
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" +