moebius#126: [very minor fix] Fix typo in a comment in NSSCertDBTrustDomain.cpp

https://github.com/MoonchildProductions/moebius/pull/126
This commit is contained in:
janekptacijarabaci 2018-04-13 20:53:27 +02:00 • committed by Roy Tam
commit acfa05e886

View file

@ -242,9 +242,9 @@ NSSCertDBTrustDomain::GetCertTrust(EndEntityOrCA endEntityOrCA,
return Success; return Success;
} }
// For TRUST, we only use the CERTDB_TRUSTED_CA bit, because Gecko hasn't // For TRUST, we only use the CERTDB_TRUSTED_CA bit, because Goanna hasn't
// needed to consider end-entity certs to be their own trust anchors since // needed to consider end-entity certs to be their own trust anchors since
// Gecko implemented nsICertOverrideService. // Goanna implemented nsICertOverrideService.
if (flags & CERTDB_TRUSTED_CA) { if (flags & CERTDB_TRUSTED_CA) {
if (policy.IsAnyPolicy()) { if (policy.IsAnyPolicy()) {
trustLevel = TrustLevel::TrustAnchor; trustLevel = TrustLevel::TrustAnchor;