summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslServerTransceiver.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/SslServerTransceiver.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/SslServerTransceiver.cpp')
-rw-r--r--cpp/src/IceSSL/SslServerTransceiver.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/SslServerTransceiver.cpp b/cpp/src/IceSSL/SslServerTransceiver.cpp
index 91c44421278..12d2feb403e 100644
--- a/cpp/src/IceSSL/SslServerTransceiver.cpp
+++ b/cpp/src/IceSSL/SslServerTransceiver.cpp
@@ -196,6 +196,13 @@ IceSSL::SslServerTransceiver::handshake(int timeout)
}
}
+ if(_traceLevels->security >= IceSSL::SECURITY_PROTOCOL)
+ {
+ Trace out(_logger, _traceLevels->securityCat);
+ out << "Performing handshake.\n";
+ out << fdToString(SSL_get_fd(_sslConnection));
+ }
+
int result = accept();
// We're doing an Accept and we don't get a retry on the socket.