[tor-bugs] #18402 [Tor]: Reduce duplicate code in parse_*_time functions

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Feb 28 14:11:00 UTC 2016


#18402: Reduce duplicate code in parse_*_time functions
--------------------------------+------------------------------
     Reporter:  icanhasaccount  |      Owner:
         Type:  enhancement     |     Status:  new
     Priority:  Low             |  Milestone:
    Component:  Tor             |    Version:  Tor: unspecified
     Severity:  Minor           |   Keywords:
Actual Points:                  |  Parent ID:
       Points:                  |    Sponsor:
--------------------------------+------------------------------
 parse_rfc1123_time and parse_iso_time_ call tor_timegm which duplicates
 most of the range checks - attached diff attempts to correct this.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18402>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list