Index: nss/lib/libpkix/pkix/checker/pkix_crlchecker.c |
=================================================================== |
--- nss/lib/libpkix/pkix/checker/pkix_crlchecker.c (revision 245298) |
+++ nss/lib/libpkix/pkix/checker/pkix_crlchecker.c (working copy) |
@@ -201,7 +201,6 @@ |
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 @@ |
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_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 @@ |
(*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; |