DescriptionConsider the verification time as well as the expiration time when caching certificate verifications.
When caching certificate verification results, rather than simply
considering whether the current tick count (monotonically increasing) is
greater than or equal to the expiration tick count, consider the actual
(system) time of the verification when it was cached in addition to the
configurated expiration time.
This will cause cached certificate verification results to be considered
expired, and thus re-validated, if the user adjusts the system clock. Since
certificate verification results are dependent upon the system clock (eg:
they may not be valid yet or may be expired, based on what the system clock
says), this is the desired behavior.
BUG=132124
TEST=net_unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143020
Patch Set 1 #
Total comments: 4
Patch Set 2 : Comment fixes #
Total comments: 15
Patch Set 3 : Rebase #Patch Set 4 : Review feedback #Patch Set 5 : Now with less const #
Messages
Total messages: 15 (0 generated)
|