[tor-dev] prop224: Time Period Overlaps and Blinded Keys

Ian Goldberg iang at cs.uwaterloo.ca
Fri Jun 23 14:42:23 UTC 2017


On Fri, Jun 23, 2017 at 10:00:28AM -0400, David Goulet wrote:
> Yes. Overlap period is between 00:00 and 12:00 UTC. This is the if condition
> being used:
> 
>   if (valid_after_tm.tm_hour > 0 && valid_after_tm.tm_hour < 12) { ...

Shouldn't that be

    if (valid_after_tm.tm_hour >= 0 && valid_after_tm.tm_hour < 12) { ...

if you want the clause to become true at 00:00, not at 01:00?

   - Ian


More information about the tor-dev mailing list