Fix Linux chain.ChainStatus when multiple layers have errors
authorJeremy Barton <jbarton@microsoft.com>
Tue, 5 Mar 2019 17:21:27 +0000 (09:21 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2019 17:21:27 +0000 (09:21 -0800)
commit61257a4b51cd5d6106ee42733697492f4cadef11
treef54caf8f13c54043ca3cdd9df73c2f826d0f4257
parent948faa1baf19119f5987bcf7be8deb5ecddd4c94
Fix Linux chain.ChainStatus when multiple layers have errors

The recent chain rewrite caused only the last layer with errors to be reported.

Commit migrated from https://github.com/dotnet/corefx/commit/fc9629cae7bfcda2196b24ba5127265efce1716a
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/OpenSslX509ChainProcessor.cs
src/libraries/System.Security.Cryptography.X509Certificates/tests/ChainTests.cs