Skip to content

Commit

Permalink
Fix invalid if statement
Browse files Browse the repository at this point in the history
Signed-off-by: Eliot Eikenberry <wolftousen@gmail.com>
  • Loading branch information
Wolftousen authored Aug 7, 2023
1 parent ab3d3fe commit 6e7e30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenFeature.Contrib.Providers.Flagd/FlagdProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ private Service.ServiceClient BuildClientForPlatform(Uri url)
};
#elif NET462_OR_GREATER
handler.ServerCertificateValidationCallback = (message, cert, chain, errors) => {
if ((errors & SslPolicyErrors.None) > 0) { return true; }
if (errors == SslPolicyErrors.None) { return true; }
chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority;
Expand Down

0 comments on commit 6e7e30d

Please sign in to comment.