diff options
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLPluginI.cpp')
-rw-r--r-- | cpp/src/IceSSL/OpenSSLPluginI.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/OpenSSLPluginI.cpp b/cpp/src/IceSSL/OpenSSLPluginI.cpp index fe8ffec9b8c..f7ed6a17f2d 100644 --- a/cpp/src/IceSSL/OpenSSLPluginI.cpp +++ b/cpp/src/IceSSL/OpenSSLPluginI.cpp @@ -93,6 +93,17 @@ createIceSSLOpenSSL(const Ice::CommunicatorPtr& communicator, const string& /*na return new PluginI(communicator); } +namespace Ice +{ + +ICESSL_OPENSSL_API void +registerIceSSLOpenSSL(bool loadOnInitialize) +{ + Ice::registerPluginFactory("IceSSL", createIceSSLOpenSSL, loadOnInitialize); +} + +} + #else extern "C" ICESSL_API Ice::Plugin* |