We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4db5b55 commit b48b26eCopy full SHA for b48b26e
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/VirtualSecureModeEnclaveProviderBase.cs
@@ -246,8 +246,10 @@ private bool VerifyHealthReportAgainstRootCertificate(X509Certificate2Collection
246
// An Always Encrypted-enabled driver doesn't verify an expiration date or a certificate authority chain.
247
// A certificate is simply used as a key pair consisting of a public and private key. This is by design.
248
249
+ #pragma warning disable IA5352
250
// CodeQL [SM00395] By design. Always Encrypted certificates should not be checked.
251
chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
252
+ #pragma warning restore IA5352
253
254
if (!chain.Build(healthReportCert))
255
{
0 commit comments