diff options
Diffstat (limited to 'chromium/third_party/nss/nss/lib/libpkix/pkix/checker/pkix_crlchecker.c')
-rw-r--r-- | chromium/third_party/nss/nss/lib/libpkix/pkix/checker/pkix_crlchecker.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chromium/third_party/nss/nss/lib/libpkix/pkix/checker/pkix_crlchecker.c b/chromium/third_party/nss/nss/lib/libpkix/pkix/checker/pkix_crlchecker.c index 63bccd565ea..c77ac8ef12f 100644 --- a/chromium/third_party/nss/nss/lib/libpkix/pkix/checker/pkix_crlchecker.c +++ b/chromium/third_party/nss/nss/lib/libpkix/pkix/checker/pkix_crlchecker.c @@ -201,7 +201,6 @@ pkix_CrlChecker_CheckLocal( PKIX_CertStore_CheckRevokationByCrlCallback storeCheckRevocationFn; PKIX_CertStore *certStore = NULL; pkix_CrlChecker *state = NULL; - PKIX_UInt32 reasonCode = 0; PKIX_UInt32 crlStoreIndex = 0; PKIX_UInt32 numCrlStores = 0; PKIX_Boolean storeIsLocal = PKIX_FALSE; @@ -242,7 +241,7 @@ pkix_CrlChecker_CheckLocal( chainVerificationState ? date : NULL, /* crl downloading is not done. */ PKIX_FALSE, - &reasonCode, &revStatus, plContext), + pReasonCode, &revStatus, plContext), PKIX_CERTSTORECRLCHECKFAILED); if (revStatus == PKIX_RevStatus_Revoked) { break; @@ -307,7 +306,6 @@ pkix_CrlChecker_CheckExternal( PKIX_CRLSelector *crlSelector = NULL; PKIX_PL_X500Name *issuerName = NULL; pkix_CrlChecker *state = NULL; - PKIX_UInt32 reasonCode = 0; PKIX_UInt32 crlStoreIndex = 0; PKIX_UInt32 numCrlStores = 0; PKIX_Boolean storeIsLocal = PKIX_FALSE; @@ -410,7 +408,7 @@ pkix_CrlChecker_CheckExternal( (*storeCheckRevocationFn)(certStore, cert, issuer, date, /* done with crl downloading */ PKIX_TRUE, - &reasonCode, &revStatus, plContext), + pReasonCode, &revStatus, plContext), PKIX_CERTSTORECRLCHECKFAILED); if (revStatus != PKIX_RevStatus_NoInfo) { break; |