Skip to content

Commit 422dcc0

Browse files
author
John Luo
committed
Missed one
1 parent f7e3fac commit 422dcc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Servers/Kestrel/test/FunctionalTests/ResponseTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ void ConfigureListenOptions(ListenOptions listenOptions)
621621
{
622622
using (var sslStream = new SslStream(connection.Stream, false, (sender, cert, chain, errors) => true, null))
623623
{
624-
await sslStream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.Tls12 | SslProtocols.Tls11, false);
624+
await sslStream.AuthenticateAsClientAsync("localhost", new X509CertificateCollection(), SslProtocols.None, false);
625625

626626
var request = Encoding.ASCII.GetBytes("GET / HTTP/1.1\r\nHost:\r\n\r\n");
627627
await sslStream.WriteAsync(request, 0, request.Length);

0 commit comments

Comments
 (0)