Skip to content

Commit

Permalink
Update lib60870 lib code to allow for TLS 1.2/1.3 connections to the …
Browse files Browse the repository at this point in the history
…IEC104 Server driver.
  • Loading branch information
riclolsen committed Sep 26, 2024
1 parent d233552 commit cb95a62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ private void HandleConnection()

try
{
sslStream.AuthenticateAsServer(tlsSecInfo.OwnCertificate, true, System.Security.Authentication.SslProtocols.Tls, false);
sslStream.AuthenticateAsServer(tlsSecInfo.OwnCertificate, true, System.Security.Authentication.SslProtocols.Tls12 | System.Security.Authentication.SslProtocols.Tls13, false);

if (sslStream.IsAuthenticated == true)
{
Expand Down

0 comments on commit cb95a62

Please sign in to comment.