diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-04-26 02:53:33 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-04-26 02:53:33 +0000 |
commit | 0d715a1edd4484c9b7074c9c3cb283d468a538bc (patch) | |
tree | 45934688c11aa189731ae51f07032050affd12ef /cpp/src/IceSSL/ContextOpenSSLClient.cpp | |
parent | Win32 fix (diff) | |
download | ice-0d715a1edd4484c9b7074c9c3cb283d468a538bc.tar.bz2 ice-0d715a1edd4484c9b7074c9c3cb283d468a538bc.tar.xz ice-0d715a1edd4484c9b7074c9c3cb283d468a538bc.zip |
Renaming Ice.Trace.Security to IceSSL.Trace.Security Cleaning up IceSSL
dependencies on Ice core
Diffstat (limited to 'cpp/src/IceSSL/ContextOpenSSLClient.cpp')
-rw-r--r-- | cpp/src/IceSSL/ContextOpenSSLClient.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/cpp/src/IceSSL/ContextOpenSSLClient.cpp b/cpp/src/IceSSL/ContextOpenSSLClient.cpp index dfc204684e7..a16406bcfb7 100644 --- a/cpp/src/IceSSL/ContextOpenSSLClient.cpp +++ b/cpp/src/IceSSL/ContextOpenSSLClient.cpp @@ -8,15 +8,16 @@ // // ********************************************************************** -#include <Ice/TraceLevels.h> #include <Ice/Logger.h> #include <IceSSL/Exception.h> #include <IceSSL/SslConnectionOpenSSL.h> #include <IceSSL/ContextOpenSSLClient.h> #include <IceSSL/SslConnectionOpenSSLClient.h> +#include <IceSSL/TraceLevels.h> using namespace std; +using namespace Ice; using IceSSL::ConnectionPtr; @@ -61,19 +62,16 @@ IceSSL::OpenSSL::ClientContext::createConnection(int socket, const PluginBaseIPt throw contextEx; } - ConnectionPtr connection = new ClientConnection(_traceLevels, - _logger, - _certificateVerifier, - createSSLConnection(socket), - plugin); + ConnectionPtr connection = new ClientConnection(_certificateVerifier, createSSLConnection(socket), plugin); connectionSetup(connection); return connection; } -IceSSL::OpenSSL::ClientContext::ClientContext(const IceInternal::InstancePtr& instance) : - Context(instance) +IceSSL::OpenSSL::ClientContext::ClientContext(const IceSSL::TraceLevelsPtr& traceLevels, const LoggerPtr& logger, + const PropertiesPtr& properties) : + Context(traceLevels, logger, properties) { _rsaPrivateKeyProperty = "IceSSL.Client.Overrides.RSA.PrivateKey"; _rsaPublicKeyProperty = "IceSSL.Client.Overrides.RSA.Certificate"; |