[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs