diff options
Diffstat (limited to 'cpp/include/IceSSL/OpenSSL.h')
-rw-r--r-- | cpp/include/IceSSL/OpenSSL.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/include/IceSSL/OpenSSL.h b/cpp/include/IceSSL/OpenSSL.h index 4f2d8c333a8..66fe89b2302 100644 --- a/cpp/include/IceSSL/OpenSSL.h +++ b/cpp/include/IceSSL/OpenSSL.h @@ -87,6 +87,10 @@ class ICESSL_OPENSSL_API Plugin : public virtual IceSSL::Plugin { public: // + // returns OpenSSL version number. + // + virtual Ice::Long getOpenSSLVersion() const = 0; + // // Establish the OpenSSL context. This must be done before the // plug-in is initialized, therefore the application must define // the property Ice.InitPlugins=0, set the context, and finally @@ -107,6 +111,7 @@ public: virtual SSL_CTX* getContext() = 0; }; +ICE_DEFINE_PTR(PluginPtr, Plugin); } // OpenSSL namespace end |