summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SChannelEngine.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-08-11 17:41:47 +0200
committerJose <jose@zeroc.com>2014-08-11 17:41:47 +0200
commitc2995b06db964e813ab6125e20b361ef1a5a1f12 (patch)
treeab7c4497b0d609c9667d6a947e43d34d338e05c7 /cpp/src/IceSSL/SChannelEngine.cpp
parentUpdates to IceGridGUI (diff)
downloadice-c2995b06db964e813ab6125e20b361ef1a5a1f12.tar.bz2
ice-c2995b06db964e813ab6125e20b361ef1a5a1f12.tar.xz
ice-c2995b06db964e813ab6125e20b361ef1a5a1f12.zip
SChannel minor fix for Java compativilty.
Diffstat (limited to 'cpp/src/IceSSL/SChannelEngine.cpp')
-rw-r--r--cpp/src/IceSSL/SChannelEngine.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/SChannelEngine.cpp b/cpp/src/IceSSL/SChannelEngine.cpp
index 89254a433bb..dee5965d975 100644
--- a/cpp/src/IceSSL/SChannelEngine.cpp
+++ b/cpp/src/IceSSL/SChannelEngine.cpp
@@ -565,7 +565,12 @@ SChannelEngine::newCredentialsHandle(bool incoming)
if(incoming)
{
- cred.dwFlags = SCH_CRED_NO_SYSTEM_MAPPER | SCH_SEND_ROOT_CERT;
+ //
+ // Don't set SCH_SEND_ROOT_CERT as it seems to cause problems with
+ // Java certificate validation and SChannel doesn't seems to send
+ // the root certificate either way.
+ //
+ cred.dwFlags = SCH_CRED_NO_SYSTEM_MAPPER;
}
else
{