Last Comment Bug 420979 - vfychain ignores -b TIME option when -p option is present
: vfychain ignores -b TIME option when -p option is present
Status: RESOLVED FIXED
NSS312 PKIXTEST
:
Product: NSS
Classification: Components
Component: Tools (show other bugs)
: trunk
: All All
: P2 normal (vote)
: 3.12
Assigned To: Nelson Bolyard (seldom reads bugmail)
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-04 15:57 PST by Nelson Bolyard (seldom reads bugmail)
Modified: 2008-03-05 13:17 PST (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
Fix vfychain to pass time to CERT_PKIXVerifyCert (1.91 KB, patch)
2008-03-04 15:57 PST, Nelson Bolyard (seldom reads bugmail)
alvolkov.bgs: review+
Details | Diff | Splinter Review

Description Nelson Bolyard (seldom reads bugmail) 2008-03-04 15:57:52 PST
Created attachment 307341 [details] [diff] [review]
Fix vfychain to pass time to CERT_PKIXVerifyCert

When vfychain is given the -p option, telling it to use CERT_PKIXVerifyCert,
it fails to pass the time from the -b option to CERT_PKIXVerifyCert.
So, vfychain always tests against PR_Now() when used with -p.
The attached patch fixes that.
Comment 1 Alexei Volkov 2008-03-05 12:36:27 PST
Comment on attachment 307341 [details] [diff] [review]
Fix vfychain to pass time to CERT_PKIXVerifyCert

r=alexei
Comment 2 Nelson Bolyard (seldom reads bugmail) 2008-03-05 13:17:11 PST
Checking in vfychain.c; new revision: 1.14; previous revision: 1.13

Note You need to log in before you can comment on or make changes to this bug.