mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 08:18:41 +09:00
moebius#119: (Windows) Security - Certificate Stores - NSSCertDBTrustDomain allows end-entities to be their own trust anchors
https://github.com/MoonchildProductions/moebius/pull/119
This commit is contained in:
parent
9db39c42c0
commit
b9ed9af662
3 changed files with 31 additions and 6 deletions
|
|
@ -224,8 +224,7 @@ CertVerifier::VerifySignedCertificateTimestamps(
|
|||
CERTCertListNode* issuerNode = CERT_LIST_NEXT(endEntityNode);
|
||||
if (!issuerNode || CERT_LIST_END(issuerNode, builtChain)) {
|
||||
// Issuer certificate is required for SCT verification.
|
||||
// TODO(bug 1294580): change this to Result::FATAL_ERROR_INVALID_ARGS
|
||||
return Success;
|
||||
return Result::FATAL_ERROR_INVALID_ARGS;
|
||||
}
|
||||
|
||||
CERTCertificate* endEntity = endEntityNode->cert;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue