diff options
Diffstat (limited to 'cpp/src/IceSSL/ClientContext.cpp')
-rw-r--r-- | cpp/src/IceSSL/ClientContext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceSSL/ClientContext.cpp b/cpp/src/IceSSL/ClientContext.cpp index 95331f60d1c..da7ea42bcec 100644 --- a/cpp/src/IceSSL/ClientContext.cpp +++ b/cpp/src/IceSSL/ClientContext.cpp @@ -54,7 +54,7 @@ IceSSL::ClientContext::configure(const GeneralConfig& generalConfig, } IceSSL::SslTransceiverPtr -IceSSL::ClientContext::createTransceiver(int socket, const OpenSSLPluginIPtr& plugin) +IceSSL::ClientContext::createTransceiver(int socket, const OpenSSLPluginIPtr& plugin, int timeout) { if(_sslContext == 0) { @@ -66,7 +66,7 @@ IceSSL::ClientContext::createTransceiver(int socket, const OpenSSLPluginIPtr& pl SSL* ssl = createSSLConnection(socket); SslTransceiverPtr transceiver = new SslClientTransceiver(plugin, socket, _certificateVerifier, ssl); - transceiverSetup(transceiver); + transceiverSetup(transceiver, timeout); return transceiver; } @@ -80,6 +80,6 @@ IceSSL::ClientContext::ClientContext(const TraceLevelsPtr& traceLevels, const Lo _dsaPrivateKeyProperty = "IceSSL.Client.Overrides.DSA.PrivateKey"; _dsaPublicKeyProperty = "IceSSL.Client.Overrides.DSA.Certificate"; _caCertificateProperty = "IceSSL.Client.Overrides.CACertificate"; - _handshakeTimeoutProperty = "IceSSL.Client.Handshake.ReadTimeout"; _passphraseRetriesProperty = "IceSSL.Client.Passphrase.Retries"; + _connectionHandshakeRetries = "IceSSL.Client.Handshake.Retries"; } |