diff options
author | Wan-Teh Chang <wtc@google.com> | 2013-05-03 18:42:28 -0700 |
---|---|---|
committer | Wan-Teh Chang <wtc@google.com> | 2013-05-03 18:42:28 -0700 |
commit | 6154ddb5598b615b27529ddc591c715d9e9862df (patch) | |
tree | 9c7f2b4bf6a3949387ea69b0d69bfc1f2c84bdb4 /lib/pkcs7 | |
parent | 5113e4d18554e2e6b684d08e85df2287f5ed8212 (diff) | |
download | nss-hg-6154ddb5598b615b27529ddc591c715d9e9862df.tar.gz |
Bug 842856: Pass NULL instead of 0 as the "const PRTime *atTime" argument
to sec_pkcs7_verify_signature. TBR=bsmith.
Diffstat (limited to 'lib/pkcs7')
-rw-r--r-- | lib/pkcs7/p7decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pkcs7/p7decode.c b/lib/pkcs7/p7decode.c index a7133b147..80689544e 100644 --- a/lib/pkcs7/p7decode.c +++ b/lib/pkcs7/p7decode.c @@ -1758,7 +1758,7 @@ SEC_PKCS7VerifySignature(SEC_PKCS7ContentInfo *cinfo, PRBool keepcerts) { return sec_pkcs7_verify_signature (cinfo, certusage, - NULL, HASH_AlgNULL, keepcerts, 0); + NULL, HASH_AlgNULL, keepcerts, NULL); } /* @@ -1867,7 +1867,7 @@ sec_pkcs7_get_signer_cert_info(SEC_PKCS7ContentInfo *cinfo, int selector) * some valid usage to pass in. */ (void) sec_pkcs7_verify_signature (cinfo, certUsageEmailSigner, - NULL, HASH_AlgNULL, PR_FALSE, 0); + NULL, HASH_AlgNULL, PR_FALSE, NULL); signercert = signerinfos[0]->cert; if (signercert == NULL) return NULL; |