summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/SslConnectionOpenSSL.cpp
diff options
context:
space:
mode:
authorAnthony Neal <aneal@zeroc.com>2001-12-05 14:21:37 +0000
committerAnthony Neal <aneal@zeroc.com>2001-12-05 14:21:37 +0000
commit06791cc88e39b51523399593eb2a33d93395d2d2 (patch)
treeb4650d4b60870a4a90dcead43a06f86a03460155 /cpp/src/Ice/SslConnectionOpenSSL.cpp
parentdepend (diff)
downloadice-06791cc88e39b51523399593eb2a33d93395d2d2.tar.bz2
ice-06791cc88e39b51523399593eb2a33d93395d2d2.tar.xz
ice-06791cc88e39b51523399593eb2a33d93395d2d2.zip
Fixed a bug regarding the readSelect() timeout during handshake. My bad.
Diffstat (limited to 'cpp/src/Ice/SslConnectionOpenSSL.cpp')
-rw-r--r--cpp/src/Ice/SslConnectionOpenSSL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/SslConnectionOpenSSL.cpp b/cpp/src/Ice/SslConnectionOpenSSL.cpp
index 3b150bb3f49..9e982281e15 100644
--- a/cpp/src/Ice/SslConnectionOpenSSL.cpp
+++ b/cpp/src/Ice/SslConnectionOpenSSL.cpp
@@ -405,7 +405,7 @@ IceSecurity::Ssl::OpenSSL::Connection::readSSL(Buffer& buf, int timeout)
if (init(timeout))
{
bytesPending = pending();
-
+
if (!bytesPending && readSelect(_readTimeout))
{
bytesPending = 1;