summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/SslConnectionOpenSSLClient.cpp
diff options
context:
space:
mode:
authorAnthony Neal <aneal@zeroc.com>2002-03-14 19:43:45 +0000
committerAnthony Neal <aneal@zeroc.com>2002-03-14 19:43:45 +0000
commit48845ee139b9ecc40e352fa51e216e195e1956ba (patch)
tree1d07912867b27de514b57b957c10bd4198419aa5 /cpp/src/Ice/SslConnectionOpenSSLClient.cpp
parentAdded shutdownOnInterrupt/ignoreInterrupt/defaultInterrupt to (diff)
downloadice-48845ee139b9ecc40e352fa51e216e195e1956ba.tar.bz2
ice-48845ee139b9ecc40e352fa51e216e195e1956ba.tar.xz
ice-48845ee139b9ecc40e352fa51e216e195e1956ba.zip
Cleanup, and project modifications (forgot the Release build config).
Diffstat (limited to 'cpp/src/Ice/SslConnectionOpenSSLClient.cpp')
-rw-r--r--cpp/src/Ice/SslConnectionOpenSSLClient.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/SslConnectionOpenSSLClient.cpp b/cpp/src/Ice/SslConnectionOpenSSLClient.cpp
index f564d8ffd69..eb2b70af6cf 100644
--- a/cpp/src/Ice/SslConnectionOpenSSLClient.cpp
+++ b/cpp/src/Ice/SslConnectionOpenSSLClient.cpp
@@ -10,6 +10,7 @@
#include <string>
#include <sstream>
+#include <Ice/SslOpenSSLUtils.h>
#include <Ice/Network.h>
#include <Ice/OpenSSL.h>
#include <Ice/SecurityException.h>
@@ -52,6 +53,8 @@ IceSSL::OpenSSL::ClientConnection::ClientConnection(
const IceSSL::SystemInternalPtr& system) :
Connection(traceLevels, logger, certificateVerifier, connection, system)
{
+ assert(_sslConnection != 0);
+
// Set the Connect Connection state for this connection.
SSL_set_connect_state(_sslConnection);
}
@@ -69,6 +72,8 @@ IceSSL::OpenSSL::ClientConnection::shutdown()
int
IceSSL::OpenSSL::ClientConnection::init(int timeout)
{
+ assert(_sslConnection != 0);
+
int retCode = SSL_is_init_finished(_sslConnection);
while (!retCode)