diff options
Diffstat (limited to 'entropy.c')
-rw-r--r-- | entropy.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -41,7 +41,7 @@ | |||
41 | # include <ssl/sha.h> | 41 | # include <ssl/sha.h> |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | RCSID("$Id: entropy.c,v 1.1 2000/04/03 04:50:45 damien Exp $"); | 44 | RCSID("$Id: entropy.c,v 1.2 2000/04/03 05:07:32 damien Exp $"); |
45 | 45 | ||
46 | #ifdef EGD_SOCKET | 46 | #ifdef EGD_SOCKET |
47 | #ifndef offsetof | 47 | #ifndef offsetof |
@@ -105,8 +105,6 @@ void get_random_bytes(unsigned char *buf, int len) | |||
105 | fatal("Couldn't open random pool \"%s\": %s", RANDOM_POOL, strerror(errno)); | 105 | fatal("Couldn't open random pool \"%s\": %s", RANDOM_POOL, strerror(errno)); |
106 | } | 106 | } |
107 | 107 | ||
108 | verbose("randfd: %i", random_pool); | ||
109 | |||
110 | c = atomicio(read, random_pool, buf, len); | 108 | c = atomicio(read, random_pool, buf, len); |
111 | if (c <= 0) | 109 | if (c <= 0) |
112 | fatal("Couldn't read from random pool \"%s\": %s", RANDOM_POOL, strerror(errno)); | 110 | fatal("Couldn't read from random pool \"%s\": %s", RANDOM_POOL, strerror(errno)); |