summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslClientTransceiver.cpp
diff options
context:
space:
mode:
authorAnthony Neal <aneal@zeroc.com>2002-10-29 18:44:20 +0000
committerAnthony Neal <aneal@zeroc.com>2002-10-29 18:44:20 +0000
commit8597953fa6e03ab064f536ce7056628fb54b8674 (patch)
treec4c2129f39ca2cfa99f1f8335ee12f534f32fff4 /cpp/src/IceSSL/SslClientTransceiver.cpp
parentMinor fixes. (diff)
downloadice-8597953fa6e03ab064f536ce7056628fb54b8674.tar.bz2
ice-8597953fa6e03ab064f536ce7056628fb54b8674.tar.xz
ice-8597953fa6e03ab064f536ce7056628fb54b8674.zip
Implemented connect-time handshaking.
Diffstat (limited to 'cpp/src/IceSSL/SslClientTransceiver.cpp')
-rw-r--r--cpp/src/IceSSL/SslClientTransceiver.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/SslClientTransceiver.cpp b/cpp/src/IceSSL/SslClientTransceiver.cpp
index 045b402a6f7..23730d8a242 100644
--- a/cpp/src/IceSSL/SslClientTransceiver.cpp
+++ b/cpp/src/IceSSL/SslClientTransceiver.cpp
@@ -211,6 +211,13 @@ IceSSL::SslClientTransceiver::handshake(int timeout)
_initWantWrite = 0;
}
+ if(_traceLevels->security >= IceSSL::SECURITY_PROTOCOL)
+ {
+ Trace out(_logger, _traceLevels->securityCat);
+ out << "Performing handshake.\n";
+ out << fdToString(SSL_get_fd(_sslConnection));
+ }
+
int result = connect();
switch(getLastError())