summaryrefslogtreecommitdiffstats
path: root/security/certverifier/CertVerifier.cpp
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-23 09:10:12 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-23 09:10:12 +0200
commitc3ec00a15295120481e4b845e36ccf324dc6b669 (patch)
treedd0f4d6bf7ccaded789019870c4f81f4e1fd8d57 /security/certverifier/CertVerifier.cpp
parentc30ebdac27c93b57e368c69e9c13055a17229992 (diff)
downloadUXP-c3ec00a15295120481e4b845e36ccf324dc6b669.tar
UXP-c3ec00a15295120481e4b845e36ccf324dc6b669.tar.gz
UXP-c3ec00a15295120481e4b845e36ccf324dc6b669.tar.lz
UXP-c3ec00a15295120481e4b845e36ccf324dc6b669.tar.xz
UXP-c3ec00a15295120481e4b845e36ccf324dc6b669.zip
moebius#119: (Windows) Security - Certificate Stores - NSSCertDBTrustDomain allows end-entities to be their own trust anchors
https://github.com/MoonchildProductions/moebius/pull/119
Diffstat (limited to 'security/certverifier/CertVerifier.cpp')
-rw-r--r--security/certverifier/CertVerifier.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/security/certverifier/CertVerifier.cpp b/security/certverifier/CertVerifier.cpp
index 61d8fcdb8..2957a269f 100644
--- a/security/certverifier/CertVerifier.cpp
+++ b/security/certverifier/CertVerifier.cpp
@@ -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;