зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 351897 . OCSP check should only be skipped for certificateStausResponder usage alone .
This commit is contained in:
Родитель
b73745e7a4
Коммит
ddd30a01be
|
@ -1399,7 +1399,7 @@ CERT_VerifyCertificate(CERTCertDBHandle *handle, CERTCertificate *cert,
|
||||||
if (PR_FALSE == checkedOCSP) {
|
if (PR_FALSE == checkedOCSP) {
|
||||||
checkedOCSP = PR_TRUE; /* only check OCSP once */
|
checkedOCSP = PR_TRUE; /* only check OCSP once */
|
||||||
statusConfig = CERT_GetStatusConfig(handle);
|
statusConfig = CERT_GetStatusConfig(handle);
|
||||||
if ( (! (requiredUsages & certificateUsageStatusResponder)) &&
|
if ( (! (requiredUsages == certificateUsageStatusResponder)) &&
|
||||||
statusConfig != NULL) {
|
statusConfig != NULL) {
|
||||||
if (statusConfig->statusChecker != NULL) {
|
if (statusConfig->statusChecker != NULL) {
|
||||||
rv = (* statusConfig->statusChecker)(handle, cert,
|
rv = (* statusConfig->statusChecker)(handle, cert,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче