diff options
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLPluginI.cpp')
-rw-r--r-- | cpp/src/IceSSL/OpenSSLPluginI.cpp | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/cpp/src/IceSSL/OpenSSLPluginI.cpp b/cpp/src/IceSSL/OpenSSLPluginI.cpp index b0592fa2fb3..1e48b64e6ab 100644 --- a/cpp/src/IceSSL/OpenSSLPluginI.cpp +++ b/cpp/src/IceSSL/OpenSSLPluginI.cpp @@ -181,19 +181,18 @@ std::vector<unsigned long> IceSSL::OpenSSLPluginI::_threadIdCache; // IceSSL::OpenSSLPluginI::OpenSSLPluginI(const ProtocolPluginFacadePtr& protocolPluginFacade) : _protocolPluginFacade(protocolPluginFacade), + _traceLevels(new TraceLevels(_protocolPluginFacade)), + _logger(_protocolPluginFacade->getCommunicator()->getLogger()), + _stats(_protocolPluginFacade->getCommunicator()->getStats()), + _properties(_protocolPluginFacade->getCommunicator()->getProperties()), _serverContext(new TraceLevels(protocolPluginFacade), protocolPluginFacade->getCommunicator()->getLogger(), protocolPluginFacade->getCommunicator()->getProperties()), _clientContext(new TraceLevels(protocolPluginFacade), protocolPluginFacade->getCommunicator()->getLogger(), - protocolPluginFacade->getCommunicator()->getProperties()) + protocolPluginFacade->getCommunicator()->getProperties()), + _randSeeded(0) { - _logger = _protocolPluginFacade->getCommunicator()->getLogger(); - _properties = _protocolPluginFacade->getCommunicator()->getProperties(); - _traceLevels = new TraceLevels(_protocolPluginFacade); - - _randSeeded = 0; - SSL_load_error_strings(); OpenSSL_add_ssl_algorithms(); @@ -712,6 +711,12 @@ IceSSL::OpenSSLPluginI::getLogger() const return _logger; } +StatsPtr +IceSSL::OpenSSLPluginI::getStats() const +{ + return _stats; +} + PropertiesPtr IceSSL::OpenSSLPluginI::getProperties() const { |