tor/src
Nick Mathewson f6dbe5a0d4 Refactor crypto error handling to be more like TLS error handling:
crypto_perror is a no-no, since an operation can set more than one
error.

Also, fix a bug in the unix crypto_seed_rng: mixing stdio with
/dev/urandom is a bad idea, since fopen can make all kinds of weird
extraneous syscalls (mmap, fcntl, stat64, etc.) and since fread tends
to buffer data in big chunks, thus depleting the entropy pool.


svn:r1717
2004-04-26 18:09:50 +00:00
..
common Refactor crypto error handling to be more like TLS error handling: 2004-04-26 18:09:50 +00:00
config give us a new dirservers file 2004-04-25 21:56:52 +00:00
or Refactor crypto error handling to be more like TLS error handling: 2004-04-26 18:09:50 +00:00
win32 Repair whitespace in windows orconfig.h 2004-04-07 20:01:51 +00:00
.cvsignore First cut at cleaning out a lot of the extra stuff. 2002-06-29 00:54:00 +00:00
Makefile.am some early bugfixes 2003-10-07 16:30:05 +00:00