diff options
author | Jose <jose@zeroc.com> | 2017-04-11 17:34:09 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-04-11 17:34:09 +0200 |
commit | 34bd2e640a9d7024a574158f96e66bc3b5ac0ea3 (patch) | |
tree | b5abea216dcdf7663d13566fe848170961d35dd9 /cpp/src/IceSSL/OpenSSLPluginI.cpp | |
parent | UWP test projects updates to support VS 2017 (diff) | |
download | ice-34bd2e640a9d7024a574158f96e66bc3b5ac0ea3.tar.bz2 ice-34bd2e640a9d7024a574158f96e66bc3b5ac0ea3.tar.xz ice-34bd2e640a9d7024a574158f96e66bc3b5ac0ea3.zip |
Rename getEngineVersion -> getOpenSSLVersion, remove getEngineName
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLPluginI.cpp')
-rw-r--r-- | cpp/src/IceSSL/OpenSSLPluginI.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/cpp/src/IceSSL/OpenSSLPluginI.cpp b/cpp/src/IceSSL/OpenSSLPluginI.cpp index 7328dfbf41d..fe8ffec9b8c 100644 --- a/cpp/src/IceSSL/OpenSSLPluginI.cpp +++ b/cpp/src/IceSSL/OpenSSLPluginI.cpp @@ -25,8 +25,7 @@ public: PluginI(const Ice::CommunicatorPtr&); - virtual string getEngineName() const; - virtual Ice::Long getEngineVersion() const; + virtual Ice::Long getOpenSSLVersion() const; virtual IceSSL::CertificatePtr create(x509_st*) const; virtual IceSSL::CertificatePtr load(const std::string&) const; virtual IceSSL::CertificatePtr decode(const std::string&) const; @@ -44,16 +43,8 @@ PluginI::PluginI(const Ice::CommunicatorPtr& com) : { } -string -PluginI::getEngineName() const -{ - ostringstream os; - os << "OpenSSLEngine@" << SSLeay_version(SSLEAY_VERSION); - return os.str(); -} - Ice::Long -PluginI::getEngineVersion() const +PluginI::getOpenSSLVersion() const { return SSLeay(); } |