Core/SSL: Fix no ciphers available when running on linux. Also fix travis builds

This commit is contained in:
hondacrx
2021-01-21 17:51:00 -05:00
parent 25e9382c6f
commit fde0f8d296
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ language: csharp
dist: xenial dist: xenial
sudo: required sudo: required
mono: none mono: none
dotnet: 3.1 dotnet: 5.0
script: script:
- dotnet restore - dotnet restore
- dotnet build - dotnet build
+1 -1
View File
@@ -79,7 +79,7 @@ namespace Framework.Networking
{ {
try try
{ {
await _stream.AuthenticateAsServerAsync(certificate, false, SslProtocols.Tls, false); await _stream.AuthenticateAsServerAsync(certificate, false, SslProtocols.Tls12, false);
} }
catch(Exception ex) catch(Exception ex)
{ {