diff options
author | Wan-Teh Chang <wtc@google.com> | 2015-01-09 15:45:13 -0800 |
---|---|---|
committer | Wan-Teh Chang <wtc@google.com> | 2015-01-09 15:45:13 -0800 |
commit | 816f77318fbf6cf36e938b1f971445b1d5a502db (patch) | |
tree | f844b3cee2042002f884deb9f49a68b78e93252f | |
parent | 41becb5ff46f11690d427f353f7504a51e74e210 (diff) | |
download | nss-hg-816f77318fbf6cf36e938b1f971445b1d5a502db.tar.gz |
Bug 1112461 - Improve a comment and fix comment nits related to
revocation method priority. r=ryan.sleevi.
-rw-r--r-- | lib/certdb/certt.h | 4 | ||||
-rwxr-xr-x | lib/libpkix/include/pkix_revchecker.h | 4 | ||||
-rw-r--r-- | lib/libpkix/pkix/checker/pkix_revocationmethod.h | 5 |
3 files changed, 7 insertions, 6 deletions
diff --git a/lib/certdb/certt.h b/lib/certdb/certt.h index 9ab00fde1..4f3c91166 100644 --- a/lib/certdb/certt.h +++ b/lib/certdb/certt.h @@ -1177,7 +1177,7 @@ typedef struct { /* * How many preferred methods are specified? * This is equivalent to the size of the array that - * preferred_revocation_methods points to. + * preferred_methods points to. * It's allowed to set this value to zero, * then NSS will decide which methods to prefer. */ @@ -1186,7 +1186,7 @@ typedef struct { /* Array that may specify an optional order of preferred methods. * Each array entry shall contain a method identifier as defined * by CERTRevocationMethodIndex. - * The entry at index [0] specifies the method with highest preferrence. + * The entry at index [0] specifies the method with highest preference. * These methods will be tested first for locally available information. * Methods allowed for downloading will be attempted in the same order. */ diff --git a/lib/libpkix/include/pkix_revchecker.h b/lib/libpkix/include/pkix_revchecker.h index 9f65a8444..18a10cd23 100755 --- a/lib/libpkix/include/pkix_revchecker.h +++ b/lib/libpkix/include/pkix_revchecker.h @@ -117,7 +117,7 @@ PKIX_RevocationChecker_Create( * "methodFlags" * Set of flags for the method. * "methodPriority" - * Method priority. (0 corresponds to a highest priority) + * Method priority. (0 corresponds to the highest priority) * "verificationFn" * User call back function that will perform validation of fetched * revocation information(new crl or ocsp response) @@ -143,7 +143,7 @@ PKIX_RevocationChecker_CreateAndAddMethod( PKIX_ProcessingParams *params, PKIX_RevocationMethodType methodType, PKIX_UInt32 methodFlags, - PKIX_UInt32 mathodPriority, + PKIX_UInt32 methodPriority, PKIX_PL_VerifyCallback verificationFn, PKIX_Boolean isLeafMethod, void *plContext); diff --git a/lib/libpkix/pkix/checker/pkix_revocationmethod.h b/lib/libpkix/pkix/checker/pkix_revocationmethod.h index 32e452556..193223731 100644 --- a/lib/libpkix/pkix/checker/pkix_revocationmethod.h +++ b/lib/libpkix/pkix/checker/pkix_revocationmethod.h @@ -48,8 +48,9 @@ pkix_ExternalRevocationCheckFn(PKIX_PL_Cert *cert, PKIX_PL_Cert *issuer, void **pNBIOContext, void *plContext); /* Revocation method structure assosiates revocation types with - * a set of flags on the method, a priority of the method, and - * method local/external checker functions. */ + * a set of flags on the method, a priority of the method (0 + * corresponds to the highest priority), and method local/external + * checker functions. */ struct pkix_RevocationMethodStruct { PKIX_RevocationMethodType methodType; PKIX_UInt32 flags; |