remove debugging junk
This commit is contained in:
parent
040f3831fc
commit
ecf6240b6d
|
@ -41,7 +41,7 @@
|
||||||
# include <ssl/sha.h>
|
# include <ssl/sha.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
RCSID("$Id: entropy.c,v 1.1 2000/04/03 04:50:45 damien Exp $");
|
RCSID("$Id: entropy.c,v 1.2 2000/04/03 05:07:32 damien Exp $");
|
||||||
|
|
||||||
#ifdef EGD_SOCKET
|
#ifdef EGD_SOCKET
|
||||||
#ifndef offsetof
|
#ifndef offsetof
|
||||||
|
@ -105,8 +105,6 @@ void get_random_bytes(unsigned char *buf, int len)
|
||||||
fatal("Couldn't open random pool \"%s\": %s", RANDOM_POOL, strerror(errno));
|
fatal("Couldn't open random pool \"%s\": %s", RANDOM_POOL, strerror(errno));
|
||||||
}
|
}
|
||||||
|
|
||||||
verbose("randfd: %i", random_pool);
|
|
||||||
|
|
||||||
c = atomicio(read, random_pool, buf, len);
|
c = atomicio(read, random_pool, buf, len);
|
||||||
if (c <= 0)
|
if (c <= 0)
|
||||||
fatal("Couldn't read from random pool \"%s\": %s", RANDOM_POOL, strerror(errno));
|
fatal("Couldn't read from random pool \"%s\": %s", RANDOM_POOL, strerror(errno));
|
||||||
|
|
Loading…
Reference in New Issue