#20672: Refactor hashing API
------------------------------+--------------------------------
     Reporter:  chelseakomlo  |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.0.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  refactoring
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 It would be useful for the hashing API in crypto.c to have consistent
 success/error retvals.

 For example, some functions return 1 on error, when instead these should
 return negative values for errors. See crypto_digest256 for example.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20672>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to