summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/ClientContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/ClientContext.cpp')
-rw-r--r--cpp/src/IceSSL/ClientContext.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/cpp/src/IceSSL/ClientContext.cpp b/cpp/src/IceSSL/ClientContext.cpp
index 9ea7c7b8054..eaac6778704 100644
--- a/cpp/src/IceSSL/ClientContext.cpp
+++ b/cpp/src/IceSSL/ClientContext.cpp
@@ -60,11 +60,7 @@ IceSSL::ClientContext::createTransceiver(int socket, const OpenSSLPluginIPtr& pl
}
SSL* ssl = createSSLConnection(socket);
- SslTransceiverPtr transceiver = new SslClientTransceiver(plugin, socket, _certificateVerifier, ssl);
-
- transceiverSetup(transceiver, timeout);
-
- return transceiver;
+ return new SslClientTransceiver(plugin, socket, _certificateVerifier, ssl, timeout);
}
IceSSL::ClientContext::ClientContext(const TraceLevelsPtr& traceLevels, const CommunicatorPtr& communicator) :
@@ -76,5 +72,4 @@ IceSSL::ClientContext::ClientContext(const TraceLevelsPtr& traceLevels, const Co
_dsaPublicKeyProperty = "IceSSL.Client.Overrides.DSA.Certificate";
_caCertificateProperty = "IceSSL.Client.Overrides.CACertificate";
_passphraseRetriesProperty = "IceSSL.Client.Passphrase.Retries";
- _connectionHandshakeRetries = "IceSSL.Client.Handshake.Retries";
}