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/ContextOpenSSLServer.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/ContextOpenSSLServer.cpp')
-rw-r--r-- | cpp/src/IceSSL/ContextOpenSSLServer.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/cpp/src/IceSSL/ContextOpenSSLServer.cpp b/cpp/src/IceSSL/ContextOpenSSLServer.cpp index d2d9752a53e..462b50bd520 100644 --- a/cpp/src/IceSSL/ContextOpenSSLServer.cpp +++ b/cpp/src/IceSSL/ContextOpenSSLServer.cpp @@ -8,7 +8,6 @@ // // ********************************************************************** -#include <Ice/TraceLevels.h> #include <Ice/Logger.h> #include <IceSSL/Exception.h> @@ -16,8 +15,10 @@ #include <IceSSL/ContextOpenSSLServer.h> #include <IceSSL/SslConnectionOpenSSLServer.h> #include <IceSSL/OpenSSLUtils.h> +#include <IceSSL/TraceLevels.h> using namespace std; +using namespace Ice; void IceSSL::OpenSSL::ServerContext::configure(const GeneralConfig& generalConfig, @@ -80,11 +81,7 @@ IceSSL::OpenSSL::ServerContext::createConnection(int socket, const PluginBaseIPt throw contextEx; } - ConnectionPtr connection = new ServerConnection(_traceLevels, - _logger, - _certificateVerifier, - createSSLConnection(socket), - plugin); + ConnectionPtr connection = new ServerConnection(_certificateVerifier, createSSLConnection(socket), plugin); connectionSetup(connection); @@ -95,8 +92,9 @@ IceSSL::OpenSSL::ServerContext::createConnection(int socket, const PluginBaseIPt // Protected // -IceSSL::OpenSSL::ServerContext::ServerContext(const IceInternal::InstancePtr& instance) : - Context(instance) +IceSSL::OpenSSL::ServerContext::ServerContext(const IceSSL::TraceLevelsPtr& traceLevels, const LoggerPtr& logger, + const PropertiesPtr& properties) : + Context(traceLevels, logger, properties) { _rsaPrivateKeyProperty = "IceSSL.Server.Overrides.RSA.PrivateKey"; _rsaPublicKeyProperty = "IceSSL.Server.Overrides.RSA.Certificate"; |