Skip to content

Commit

Permalink
Disabling warning for the CRL check in the android broker flow (#1738)
Browse files Browse the repository at this point in the history
Co-authored-by: Trwalke <trwalke@microsoft.com>
  • Loading branch information
trwalke and Trwalke committed Apr 2, 2020
1 parent 068f6cb commit 4286f2e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,9 @@ private void VerifyCertificateChain(List<X509Certificate2> certificates)
X509Chain chain = new X509Chain();
chain.ChainPolicy = new X509ChainPolicy()
{
#pragma warning disable IA5352 //Certificates are not published to a CRL when revoked for broker so this check cannot be made
RevocationMode = X509RevocationMode.NoCheck
#pragma warning restore IA5352
};

chain.ChainPolicy.ExtraStore.AddRange(collection);
Expand Down

0 comments on commit 4286f2e

Please sign in to comment.