summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexei.volkov.bugs%sun.com <devnull@localhost>2007-05-25 03:37:37 +0000
committeralexei.volkov.bugs%sun.com <devnull@localhost>2007-05-25 03:37:37 +0000
commit19e6f2cebe9f6df1a9caa1ce3a7a6b3287a242aa (patch)
tree5fc4b312742782704c51d29a8f321a7c63624fdc
parent787d62680a73cedff6bbe4bfdcc48e3828a5cd48 (diff)
downloadnss-hg-19e6f2cebe9f6df1a9caa1ce3a7a6b3287a242aa.tar.gz
381317: Unauthorized OCSP response error. r=nelson, sr=julien
-rw-r--r--security/nss/lib/certhigh/ocsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/nss/lib/certhigh/ocsp.c b/security/nss/lib/certhigh/ocsp.c
index 55d8baf90..eb1e46e65 100644
--- a/security/nss/lib/certhigh/ocsp.c
+++ b/security/nss/lib/certhigh/ocsp.c
@@ -3712,9 +3712,9 @@ CERT_VerifyOCSPResponseSignature(CERTOCSPResponse *response,
rv = SECSuccess;
} else {
if (CERT_IsCACert(signerCert, NULL)) {
- rv = CERT_VerifyCACertForUsage(handle, signerCert, PR_TRUE,
- certUsageStatusResponder,
- producedAt, pwArg, NULL);
+ rv = CERT_VerifyCert(handle, signerCert, PR_TRUE,
+ certUsageVerifyCA,
+ producedAt, pwArg, NULL);
} else {
rv = CERT_VerifyCert(handle, signerCert, PR_TRUE,
certUsageStatusResponder,