summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/Context.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-04-20 15:45:59 +0000
committerMark Spruiell <mes@zeroc.com>2006-04-20 15:45:59 +0000
commit495d7f4a8b5bcd81f7986982074aa79f45ccc65a (patch)
treecdc801eb9526f1391cdd3afc71728f9a590f0341 /cpp/src/IceSSL/Context.cpp
parentFix bug 730 (diff)
downloadice-495d7f4a8b5bcd81f7986982074aa79f45ccc65a.tar.bz2
ice-495d7f4a8b5bcd81f7986982074aa79f45ccc65a.tar.xz
ice-495d7f4a8b5bcd81f7986982074aa79f45ccc65a.zip
changing default value of VerifyDepthMax to 2
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);