summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-03 15:07:32 +1000
committerDamien Miller <djm@mindrot.org>2000-04-03 15:07:32 +1000
commitecf6240b6d9837f1c7612f593e12677bf22a46d4 (patch)
treec3dee261cdfdb6d8fe3d9913c7f2dc3a5b67aa9b
parent040f3831fcc4c2e338ab15cb55cb43d95deb390e (diff)
remove debugging junk
-rw-r--r--entropy.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/entropy.c b/entropy.c
index 16731775c..cd6f1a508 100644
--- a/entropy.c
+++ b/entropy.c
@@ -41,7 +41,7 @@
41# include <ssl/sha.h> 41# include <ssl/sha.h>
42#endif 42#endif
43 43
44RCSID("$Id: entropy.c,v 1.1 2000/04/03 04:50:45 damien Exp $"); 44RCSID("$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));