DescriptionCheck X509Certificate::CreateFromHandle result.
Previously CreateFromHandle could not fail, as it assumed creating an OSCertHandle would validate the contents. Any errors during X509Certificate::Initialize were silently ignored. A followup change will expose errors during X509Certificate::Initialize by failing to create an X509Certificate. Further followups will invalidate the assumption that creating an "OSCertHandle" completely parses and validates the certificate data.
BUG=671420
Review-Url: https://codereview.chromium.org/2760723002
Cr-Commit-Position: refs/heads/master@{#459955}
Committed: https://chromium.googlesource.com/chromium/src/+/5ed988687799ba8050ecda6e69ee3b0702a9b2ae
Patch Set 1 : . #
Total comments: 1
Patch Set 2 : mac typo fix #Patch Set 3 : rebase on updated 2755203002 #
Total comments: 12
Patch Set 4 : rebase #Patch Set 5 : update for eroman's comments #
Total comments: 10
Patch Set 6 : 2nd round of updates #
Total comments: 3
Dependent Patchsets: Messages
Total messages: 48 (28 generated)
|