summaryrefslogtreecommitdiff
path: root/csharp/src
diff options
context:
space:
mode:
authorAndreas Sommer <andreas.sommer87@googlemail.com>2019-09-02 18:13:22 +0200
committerJose <jose@zeroc.com>2019-09-06 18:51:54 +0200
commit3d36eb8a56b684ee170cc381eae5d8590680e69b (patch)
tree218906d29ad95bf0f4f7f194d85a5bf8544c0b1b /csharp/src
parentMark SChannel as always using SNI (diff)
downloadice-3d36eb8a56b684ee170cc381eae5d8590680e69b.tar.bz2
ice-3d36eb8a56b684ee170cc381eae5d8590680e69b.tar.xz
ice-3d36eb8a56b684ee170cc381eae5d8590680e69b.zip
Mark csharp as always using SNI
Diffstat (limited to 'csharp/src')
-rw-r--r--csharp/src/IceSSL/TransceiverI.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/csharp/src/IceSSL/TransceiverI.cs b/csharp/src/IceSSL/TransceiverI.cs
index 90698ee5a6f..cc9c0db4706 100644
--- a/csharp/src/IceSSL/TransceiverI.cs
+++ b/csharp/src/IceSSL/TransceiverI.cs
@@ -400,6 +400,10 @@ namespace IceSSL
//
// Client authentication.
//
+ // SNI support: SslStream always sends the TLS extension (not configurable). See
+ // https://github.com/dotnet/corefx/issues/17427 for older versions which don't
+ // have it yet. Therefore, the IceSSL.ServerNameIndication property is not used here.
+ //
_writeResult = _sslStream.BeginAuthenticateAsClient(_host,
_instance.certs(),
_instance.protocols(),