Skip to content

Commit

Permalink
use SslProtocol.None instead of deprec'd .Default
Browse files Browse the repository at this point in the history
  • Loading branch information
gbirchmeier committed Jun 16, 2020
1 parent 1943504 commit 4957f3c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion QuickFIXn/SocketSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public class SocketSettings : ICloneable
public SocketSettings()
{
ValidateCertificates = true;
SslProtocol = SslProtocols.Default;
SslProtocol = SslProtocols.None;
CheckCertificateRevocation = true;
RequireClientCertificate = true;
SocketNodelay = true;
Expand Down
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ What's New
* (patch) #564 - NuGet package creation! (fourpastmidnight)
* (patch) #612 - add Serilog standalone example (pavka1799)
* (patch) #602 - Correct DD.CheckValue() to be compatible with AllowUnknownMessageFields (roblugt/gbirchmeier)
* (patch) none - use SslProtocol.None instead of deprecated .Default (gbirchmeier)

### v1.9.0:
* (minor) #469 - Add support for NET Standard 2.0 (jhickson)
Expand Down
2 changes: 1 addition & 1 deletion UnitTests/SocketSettingsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void DefaultValues()
Assert.IsTrue(socketSettings.ValidateCertificates);
Assert.IsNull(socketSettings.CertificatePath);
Assert.IsNull(socketSettings.CertificatePassword);
Assert.AreEqual(SslProtocols.Default,socketSettings.SslProtocol);
Assert.AreEqual(SslProtocols.None, socketSettings.SslProtocol);
Assert.IsTrue(socketSettings.CheckCertificateRevocation);
Assert.IsFalse(socketSettings.UseSSL);
Assert.IsNull(socketSettings.CACertificatePath);
Expand Down

0 comments on commit 4957f3c

Please sign in to comment.