| Index: nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c
|
| diff --git a/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c b/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c
|
| index ebe37739fa5a6cac2dd97119b45ddbce6de30deb..7bed9b88601593500e153dd80792f2e99d6baff2 100755
|
| --- a/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c
|
| +++ b/nss/lib/libpkix/pkix/checker/pkix_revocationchecker.c
|
| @@ -349,7 +349,7 @@ PKIX_RevocationChecker_Check(
|
| * first we are going to test all local(cached) info
|
| * second, all remote info(fetching) */
|
| for (tries = 0;tries < 2;tries++) {
|
| - int methodNum = 0;
|
| + unsigned int methodNum = 0;
|
| for (;methodNum < revList->length;methodNum++) {
|
| PKIX_UInt32 methodFlags = 0;
|
|
|
| @@ -372,7 +372,8 @@ PKIX_RevocationChecker_Check(
|
| methodFlags,
|
| chainVerificationState,
|
| &revStatus,
|
| - pReasonCode, plContext),
|
| + (CERTCRLEntryReasonCode *)pReasonCode,
|
| + plContext),
|
| PKIX_REVCHECKERCHECKFAILED);
|
| methodStatus[methodNum] = revStatus;
|
| if (revStatus == PKIX_RevStatus_Revoked) {
|
| @@ -397,7 +398,8 @@ PKIX_RevocationChecker_Check(
|
| (*method->externalRevChecker)(cert, issuer, date,
|
| method,
|
| procParams, methodFlags,
|
| - &revStatus, pReasonCode,
|
| + &revStatus,
|
| + (CERTCRLEntryReasonCode *)pReasonCode,
|
| &nbioContext, plContext),
|
| PKIX_REVCHECKERCHECKFAILED);
|
| methodStatus[methodNum] = revStatus;
|
|
|