From fde0f8d296ba67fd9b69c83be7a78b473c5e6895 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 21 Jan 2021 17:51:00 -0500 Subject: [PATCH] Core/SSL: Fix no ciphers available when running on linux. Also fix travis builds --- .travis.yml | 2 +- Source/Framework/Networking/SSLSocket.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b5ba80240..2d6e4735f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: csharp dist: xenial sudo: required mono: none -dotnet: 3.1 +dotnet: 5.0 script: - dotnet restore - dotnet build \ No newline at end of file diff --git a/Source/Framework/Networking/SSLSocket.cs b/Source/Framework/Networking/SSLSocket.cs index b38703154..580befaae 100644 --- a/Source/Framework/Networking/SSLSocket.cs +++ b/Source/Framework/Networking/SSLSocket.cs @@ -79,7 +79,7 @@ namespace Framework.Networking { try { - await _stream.AuthenticateAsServerAsync(certificate, false, SslProtocols.Tls, false); + await _stream.AuthenticateAsServerAsync(certificate, false, SslProtocols.Tls12, false); } catch(Exception ex) {