#16582: Distinguish ENOENT from other error cases when loading keys.
--------------------+------------------------------------
 Reporter:  nickm   |          Owner:
     Type:  defect  |         Status:  new
 Priority:  major   |      Milestone:  Tor: 0.2.7.x-final
Component:  Tor     |        Version:
 Keywords:          |  Actual Points:
Parent ID:  #16530  |         Points:
--------------------+------------------------------------
 You know what's horrible? Trying to load a key, failing with EMFILE or
 something, and then concluding that the key doesn't exist, and then
 overwriting it.

 We'd better only ever say "No key, better make one" when we get ENOENT.

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

Reply via email to