diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-03-14 21:03:01 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-03-14 21:03:01 +0000 |
commit | 55b43f367d4923ff8d4d01750f0770a779ef9cbe (patch) | |
tree | e960bf16dec4008d3000d8feb6fa2fb10acb1a46 /cpp/src/Ice/SslConnectionOpenSSLServer.cpp | |
parent | comments (diff) | |
download | ice-55b43f367d4923ff8d4d01750f0770a779ef9cbe.tar.bz2 ice-55b43f367d4923ff8d4d01750f0770a779ef9cbe.tar.xz ice-55b43f367d4923ff8d4d01750f0770a779ef9cbe.zip |
Updated Communicator.ice so that SSL related methods are only included when
compiling the slice with -DICE_CPP. Updated project and Makefile
accordingly. Continuing cleanup.
Diffstat (limited to 'cpp/src/Ice/SslConnectionOpenSSLServer.cpp')
-rw-r--r-- | cpp/src/Ice/SslConnectionOpenSSLServer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/Ice/SslConnectionOpenSSLServer.cpp b/cpp/src/Ice/SslConnectionOpenSSLServer.cpp index 1dcea25d049..96392f0e551 100644 --- a/cpp/src/Ice/SslConnectionOpenSSLServer.cpp +++ b/cpp/src/Ice/SslConnectionOpenSSLServer.cpp @@ -54,7 +54,9 @@ IceSSL::OpenSSL::ServerConnection::ServerConnection( SSL* connection,
const IceSSL::SystemInternalPtr& system) : Connection(traceLevels, logger, certificateVerifier, connection, system) -{ +{
+ assert(_sslConnection != 0); +
// Set the Accept Connection state for this connection.
SSL_set_accept_state(_sslConnection);
} @@ -72,6 +74,8 @@ IceSSL::OpenSSL::ServerConnection::shutdown() int IceSSL::OpenSSL::ServerConnection::init(int timeout) {
+ assert(_sslConnection != 0);
+
int retCode = SSL_is_init_finished(_sslConnection); while (!retCode) |