From: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 10 Sep 2021 04:01:15 +0000 (-0600) Subject: Ignore the DuplicateExtension status from macOS 12. (#58889) X-Git-Tag: accepted/tizen/unified/20220110.054933~179 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=022b73d8a2a268465c28dd3065253bd710ed0a71;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Ignore the DuplicateExtension status from macOS 12. (#58889) MacOS 12 introduces a new X.509 chain status, DuplicateExtension. As we do not report this in Windows and nor do we have a flag to map it to, we ignore it from macOS. Co-authored-by: Kevin Jones --- diff --git a/src/libraries/Native/Unix/System.Security.Cryptography.Native.Apple/pal_x509chain.c b/src/libraries/Native/Unix/System.Security.Cryptography.Native.Apple/pal_x509chain.c index ec12984..06f09cf 100644 --- a/src/libraries/Native/Unix/System.Security.Cryptography.Native.Apple/pal_x509chain.c +++ b/src/libraries/Native/Unix/System.Security.Cryptography.Native.Apple/pal_x509chain.c @@ -195,7 +195,7 @@ static void MergeStatusCodes(CFTypeRef key, CFTypeRef value, void* context) } else if (CFEqual(keyString, CFSTR("NonEmptySubject")) || CFEqual(keyString, CFSTR("GrayListedKey")) || CFEqual(keyString, CFSTR("CTRequired")) || CFEqual(keyString, CFSTR("GrayListedLeaf")) || - CFEqual(keyString, CFSTR("IdLinkage"))) + CFEqual(keyString, CFSTR("IdLinkage")) || CFEqual(keyString, CFSTR("DuplicateExtension"))) { // Not a "problem" that we report. }