From ba63c894be9468ba3ef6ccb7433981de11c7cfa3 Mon Sep 17 00:00:00 2001 From: Master T Date: Mon, 16 Nov 2015 22:08:53 +0100 Subject: [PATCH] Remove Console.WriteLine --- .../HttpsConnectionFilter.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Microsoft.AspNet.Server.Kestrel.Https/HttpsConnectionFilter.cs b/src/Microsoft.AspNet.Server.Kestrel.Https/HttpsConnectionFilter.cs index 236f4147d1..b7606438f0 100644 --- a/src/Microsoft.AspNet.Server.Kestrel.Https/HttpsConnectionFilter.cs +++ b/src/Microsoft.AspNet.Server.Kestrel.Https/HttpsConnectionFilter.cs @@ -55,7 +55,6 @@ namespace Microsoft.AspNet.Server.Kestrel.Https sslStream = new SslStream(context.Connection, leaveInnerStreamOpen: false, userCertificateValidationCallback: (sender, certificate, chain, sslPolicyErrors) => { - Console.WriteLine("callback type: " + (certificate is X509Certificate2)); if (certificate == null) { return _options.ClientCertificateMode != ClientCertificateMode.RequireCertificate; @@ -94,7 +93,6 @@ namespace Microsoft.AspNet.Server.Kestrel.Https }); await sslStream.AuthenticateAsServerAsync(_options.ServerCertificate, clientCertificateRequired: true, enabledSslProtocols: _options.SslProtocols, checkCertificateRevocation: _options.CheckCertificateRevocation); - Console.WriteLine("remote type: " + (sslStream.RemoteCertificate is X509Certificate2)); } var previousPrepareRequest = context.PrepareRequest;