Bug 394206, PKIX_PL_Cert_IsCertTrusted checks wrong flag
r=nelson git-svn-id: svn://10.0.0.236/trunk@233339 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
cdba22e671
commit
860ace47b6
@ -3256,8 +3256,7 @@ PKIX_PL_Cert_IsCertTrusted(
|
||||
if (rv == SECSuccess) {
|
||||
|
||||
certFlags = SEC_GET_TRUST_FLAGS((&trust), trustType);
|
||||
if ((certFlags & CERTDB_VALID_CA) &&
|
||||
((certFlags & requiredFlags) == requiredFlags)) {
|
||||
if ((certFlags & requiredFlags) == requiredFlags) {
|
||||
trusted = PKIX_TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user