summaryrefslogtreecommitdiff
path: root/cpp/include/IceSSL/OpenSSL.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-04-11 17:34:09 +0200
committerJose <jose@zeroc.com>2017-04-11 17:34:09 +0200
commit34bd2e640a9d7024a574158f96e66bc3b5ac0ea3 (patch)
treeb5abea216dcdf7663d13566fe848170961d35dd9 /cpp/include/IceSSL/OpenSSL.h
parentUWP test projects updates to support VS 2017 (diff)
downloadice-34bd2e640a9d7024a574158f96e66bc3b5ac0ea3.tar.bz2
ice-34bd2e640a9d7024a574158f96e66bc3b5ac0ea3.tar.xz
ice-34bd2e640a9d7024a574158f96e66bc3b5ac0ea3.zip
Rename getEngineVersion -> getOpenSSLVersion, remove getEngineName
Diffstat (limited to 'cpp/include/IceSSL/OpenSSL.h')
-rw-r--r--cpp/include/IceSSL/OpenSSL.h5
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