diff options
author | Brian Smith <bsmith@mozilla.com> | 2013-05-02 19:32:59 -0700 |
---|---|---|
committer | Brian Smith <bsmith@mozilla.com> | 2013-05-02 19:32:59 -0700 |
commit | 359b2406b30bf028934a8cbdd30bb0588cf2ad6c (patch) | |
tree | f705e1e5ec0cb241973ddc42db9950e143fd416a /cmd/ocspclnt | |
parent | a8f69677908f03825d56c4fbc8bc819a51243a05 (diff) | |
download | nss-hg-359b2406b30bf028934a8cbdd30bb0588cf2ad6c.tar.gz |
Bug 802430: Allow NSS to be built with NO_NSPR_10_SUPPORT, r=wtc
Diffstat (limited to 'cmd/ocspclnt')
-rw-r--r-- | cmd/ocspclnt/ocspclnt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd/ocspclnt/ocspclnt.c b/cmd/ocspclnt/ocspclnt.c index f812df1c0..ea2a4ce3a 100644 --- a/cmd/ocspclnt/ocspclnt.c +++ b/cmd/ocspclnt/ocspclnt.c @@ -254,7 +254,7 @@ create_request (FILE *out_file, CERTCertDBHandle *handle, CERTCertificate *cert, CERTCertList *certs = NULL; CERTCertificate *myCert = NULL; CERTOCSPRequest *request = NULL; - int64 now = PR_Now(); + PRTime now = PR_Now(); SECItem *encoding = NULL; SECStatus rv = SECFailure; @@ -329,7 +329,7 @@ dump_response (FILE *out_file, CERTCertDBHandle *handle, CERTCertificate *cert, CERTCertList *certs = NULL; CERTCertificate *myCert = NULL; char *loc = NULL; - int64 now = PR_Now(); + PRTime now = PR_Now(); SECItem *response = NULL; SECStatus rv = SECFailure; PRBool includeServiceLocator; @@ -400,7 +400,7 @@ loser: static SECStatus get_cert_status (FILE *out_file, CERTCertDBHandle *handle, CERTCertificate *cert, const char *cert_name, - int64 verify_time) + PRTime verify_time) { SECStatus rv = SECFailure; @@ -436,7 +436,7 @@ loser: */ static SECStatus verify_cert (FILE *out_file, CERTCertDBHandle *handle, CERTCertificate *cert, - const char *cert_name, SECCertUsage cert_usage, int64 verify_time) + const char *cert_name, SECCertUsage cert_usage, PRTime verify_time) { SECStatus rv = SECFailure; @@ -965,7 +965,7 @@ main (int argc, char **argv) SECStatus rv; CERTCertDBHandle *handle = NULL; SECCertUsage cert_usage; - int64 verify_time; + PRTime verify_time; CERTCertificate *cert = NULL; PRBool ascii = PR_FALSE; |