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

[tor-bugs] #16582 [Tor]: Distinguish ENOENT from other error cases when loading keys.



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