diff options
author | Jose <jose@zeroc.com> | 2019-02-11 19:47:54 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-02-11 19:49:03 +0100 |
commit | b872b274b9f110b1d35db4215ebd68f244dfafa8 (patch) | |
tree | e63ea69f6775d0caee39676367d43fbe17ec026e /cpp/src/IceSSL/OpenSSLEngine.cpp | |
parent | Minor style and test fixes (diff) | |
download | ice-b872b274b9f110b1d35db4215ebd68f244dfafa8.tar.bz2 ice-b872b274b9f110b1d35db4215ebd68f244dfafa8.tar.xz ice-b872b274b9f110b1d35db4215ebd68f244dfafa8.zip |
IceSSL/configuration fixes for OpenSSL 1.1.1a
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLEngine.cpp')
-rw-r--r-- | cpp/src/IceSSL/OpenSSLEngine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/OpenSSLEngine.cpp b/cpp/src/IceSSL/OpenSSLEngine.cpp index 6e5252209eb..424059fd194 100644 --- a/cpp/src/IceSSL/OpenSSLEngine.cpp +++ b/cpp/src/IceSSL/OpenSSLEngine.cpp @@ -609,14 +609,14 @@ OpenSSL::SSLEngine::initialize() if(!cert || !SSL_CTX_use_certificate(_ctx, cert)) { throw PluginInitializationException(__FILE__, __LINE__, - "IceSSL: unable to establish SSL certificate:\n" + + "IceSSL: unable to load SSL certificate:\n" + (cert ? sslErrors() : "certificate not found")); } if(!key || !SSL_CTX_use_PrivateKey(_ctx, key)) { throw PluginInitializationException(__FILE__, __LINE__, - "IceSSL: unable to establish SSL private key:\n" + + "IceSSL: unable to load SSL private key:\n" + (key ? sslErrors() : "key not found")); } keyLoaded = true; |