fix mozilla::pkix::Duration so its constructor's arguments are passed in increasing chronological order

NEW
Unassigned

Status

()

Core
Security: PSM
P5
normal
2 years ago
4 months ago

People

(Reporter: keeler, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox49 affected)

Details

(Whiteboard: [psm-cleanup])

(From bug 1141189 comment 17)
> I also don't like that
> the Duration constructor goes out of its way to allow somebody to pass the
> components of the duration in either order. The caller should always know
> which is larger and we should always consistently pass time pairs in the
> same order, which means that part of the conditional logic there is
> basically dead code.
(Reporter)

Updated

4 months ago
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.