summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceSSL/SChannelEngine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/SChannelEngine.cpp b/cpp/src/IceSSL/SChannelEngine.cpp
index 770988c3e90..50e1b1240aa 100644
--- a/cpp/src/IceSSL/SChannelEngine.cpp
+++ b/cpp/src/IceSSL/SChannelEngine.cpp
@@ -1145,6 +1145,8 @@ SChannel::SSLEngine::getCipherName(ALG_ID cipher) const
CredHandle
SChannel::SSLEngine::newCredentialsHandle(bool incoming)
{
+ // SNI support: SChannel will send the TLS extension even if SCH_CRED_SNI_CREDENTIAL (undocumented!)
+ // is not specified. Therefore, the IceSSL.ServerNameIndication property is not used here.
SCHANNEL_CRED cred;
memset(&cred, 0, sizeof(cred));
cred.dwVersion = SCHANNEL_CRED_VERSION;