diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-02 17:08:47 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-02 17:08:47 +0000 |
commit | c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb (patch) | |
tree | cd9ddef90cf2f5496be9abc07e3018bb294d8213 /cpp/src/Ice/SslFactory.cpp | |
parent | removed shutdown() from acceptor (diff) | |
download | ice-c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb.tar.bz2 ice-c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb.tar.xz ice-c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb.zip |
cleanup
Diffstat (limited to 'cpp/src/Ice/SslFactory.cpp')
-rw-r--r-- | cpp/src/Ice/SslFactory.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/cpp/src/Ice/SslFactory.cpp b/cpp/src/Ice/SslFactory.cpp index 77ca0314eaa..791cce078aa 100644 --- a/cpp/src/Ice/SslFactory.cpp +++ b/cpp/src/Ice/SslFactory.cpp @@ -44,14 +44,14 @@ extern "C" class SslLockKeeper { public: -
+ SslLockKeeper(); ~SslLockKeeper(); IceUtil::Mutex sslLocks[CRYPTO_NUM_LOCKS]; }; -
+ SslLockKeeper lockKeeper; } @@ -68,16 +68,16 @@ void IceSSL::lockingCallback(int mode, int type, const char *file, int line) } } -IceSSL::SslLockKeeper::SslLockKeeper()
-{
- CRYPTO_set_locking_callback((void (*)(int, int, const char*, int))IceSSL::lockingCallback);
-}
-
-IceSSL::SslLockKeeper::~SslLockKeeper()
-{
- CRYPTO_set_locking_callback(NULL);
-}
-
+IceSSL::SslLockKeeper::SslLockKeeper() +{ + CRYPTO_set_locking_callback((void (*)(int, int, const char*, int))IceSSL::lockingCallback); +} + +IceSSL::SslLockKeeper::~SslLockKeeper() +{ + CRYPTO_set_locking_callback(NULL); +} + IceSSL::SystemInternalPtr IceSSL::Factory::getSystem(const IceInternal::InstancePtr& instance) { |