summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/Context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/Context.cpp')
-rw-r--r--cpp/src/IceSSL/Context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/Context.cpp b/cpp/src/IceSSL/Context.cpp
index 5dd8a1fb99c..4461a282047 100644
--- a/cpp/src/IceSSL/Context.cpp
+++ b/cpp/src/IceSSL/Context.cpp
@@ -408,7 +408,7 @@ IceSSL::Context::Context(const InstancePtr& instance, SSL_CTX* ctx) :
// Establish the maximum verify depth.
//
{
- int depth = properties->getPropertyAsIntWithDefault(propPrefix + "VerifyDepthMax", -1);
+ int depth = properties->getPropertyAsIntWithDefault(propPrefix + "VerifyDepthMax", 2);
if(depth >= 0)
{
SSL_CTX_set_verify_depth(_ctx, depth);