Skip to content

Commit

Permalink
Fix Null Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dckorben committed Feb 4, 2025
1 parent 3c78720 commit 956f824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QuickFIXn/Transport/SslStreamFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private static bool ContainsEnhancedKeyUsage(X509Certificate certificate, string
{
foreach (System.Security.Cryptography.Oid oid in keyUsage.EnhancedKeyUsages)
{
if (oid.Value.Equals(enhancedKeyOid, StringComparison.Ordinal))
if (enhancedKeyOid.Equals(oid.Value, StringComparison.Ordinal))
return true;
}
}
Expand Down

0 comments on commit 956f824

Please sign in to comment.