From a4d8e20411191934115fb3672caa90a9d9adefca Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 20 Sep 2016 10:58:14 +0200 Subject: Fix ICE-7192 - Review deprecatedBy usage --- cpp/src/IceSSL/OpenSSLEngine.cpp | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'cpp/src/IceSSL') diff --git a/cpp/src/IceSSL/OpenSSLEngine.cpp b/cpp/src/IceSSL/OpenSSLEngine.cpp index a7232b06f7f..8c459506f0d 100644 --- a/cpp/src/IceSSL/OpenSSLEngine.cpp +++ b/cpp/src/IceSSL/OpenSSLEngine.cpp @@ -467,37 +467,6 @@ OpenSSLEngine::initialize() } } - if(!file && !dir) - { - // Deprecated properties - path = properties->getProperty(propPrefix + "CertAuthFile"); - if(!path.empty()) - { - if(!checkPath(path, defaultDir, false, resolved)) - { - throw PluginInitializationException(__FILE__, __LINE__, - "IceSSL: CA certificate file not found:\n" + path); - } - path = resolved; - file = path.c_str(); - } - else - { - path = properties->getProperty(propPrefix + "CertAuthDir"); - if(!path.empty()) - { - if(!checkPath(path, defaultDir, true, resolved)) - { - throw PluginInitializationException(__FILE__, __LINE__, - "IceSSL: CA certificate directory not found:\n" + - path); - } - path = resolved; - dir = path.c_str(); - } - } - } - if(file || dir) { // -- cgit v1.2.3