Commit 9320322f authored by Ruan Pearce-Authers's avatar Ruan Pearce-Authers

Fix compilation using normal solution under Mono

parent afb3ae2e
...@@ -539,7 +539,7 @@ SocketMode ISocketCallback.Connected(Stream stream) ...@@ -539,7 +539,7 @@ SocketMode ISocketCallback.Connected(Stream stream)
if (string.IsNullOrWhiteSpace(host)) host = Format.ToStringHostOnly(bridge.ServerEndPoint.EndPoint); if (string.IsNullOrWhiteSpace(host)) host = Format.ToStringHostOnly(bridge.ServerEndPoint.EndPoint);
var ssl = new SslStream(stream, false, config.CertificateValidationCallback, config.CertificateSelectionCallback var ssl = new SslStream(stream, false, config.CertificateValidationCallback, config.CertificateSelectionCallback
#if !MONO #if !__MonoCS__
, EncryptionPolicy.RequireEncryption , EncryptionPolicy.RequireEncryption
#endif #endif
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment