Closed Bug 682830 Opened 13 years ago Closed 11 years ago

Date is off-by-one in "Update x Day(s) before Next Update date" CRL auto-update functionality

Categories

(Core :: Security: PSM, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: decoder, Unassigned)

References

Details

There seem's to be an off-by-one in the "x days before next update" function. I imported a CRL that has next update field:

Next Update: Sep  6 21:03:09 2011 GMT

Now I enable auto-update and specify "Update 1 day(s) before Next Update date". I'd expect this to update at Sep  5 21:03:09 2011 GMT, but it does not, it updates at Sep  6. I deleted the CRL, reimported and set auto-update to "Update 5 day(s) before Next Update date". As expected, it does NOT update at Sep  1 but at Sep  2 it does.

Tested with Fx 8.0a2 on Windows.

Is this intended behavior or a bug?
Assignee: nobody → nobody
Component: Security → Libraries
Product: Firefox → NSS
QA Contact: firefox → libraries
Version: 8 Branch → unspecified
Moving to PSM.
Assignee: nobody → nobody
Component: Libraries → Security: PSM
Product: NSS → Core
QA Contact: libraries → psm
Version: unspecified → Trunk
The CRL Manager / Revocation Lists feature was removed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.