diff options
author | David Shaw <[email protected]> | 2003-05-24 18:31:33 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-05-24 18:31:33 +0000 |
commit | 29e6411a7bc1657fab1a3c2b847051a30e2247ea (patch) | |
tree | 62aeaf6d2fb67efd3023169a6d82b085a70c3100 /cipher/rndlinux.c | |
parent | * mpicoder.c, mpi-inline.h, mpi-inv.c, mpiutil.c, mpih-div.c, (diff) | |
download | gnupg-29e6411a7bc1657fab1a3c2b847051a30e2247ea.tar.gz gnupg-29e6411a7bc1657fab1a3c2b847051a30e2247ea.zip |
* bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c, elgamal.c,
rijndael.c, rndunix.c, sha256.c, cast5.c, idea-stub.c, rmd160.c, rndw32.c,
sha512.c, md5.c, rmd160test.c, rsa.c, tiger.c: Edit all preprocessor
instructions to remove whitespace before the '#'. This is not required by
C89, but there are some compilers out there that don't like it.
Diffstat (limited to 'cipher/rndlinux.c')
-rw-r--r-- | cipher/rndlinux.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cipher/rndlinux.c b/cipher/rndlinux.c index 2b28e4b6a..1284bc7ee 100644 --- a/cipher/rndlinux.c +++ b/cipher/rndlinux.c @@ -31,15 +31,15 @@ #include <sys/types.h> #include <sys/stat.h> #ifdef HAVE_GETTIMEOFDAY - #include <sys/times.h> +#include <sys/times.h> #endif #include <string.h> #include <unistd.h> #include <fcntl.h> #if 0 - #include <sys/ioctl.h> - #include <asm/types.h> - #include <linux/random.h> +#include <sys/ioctl.h> +#include <asm/types.h> +#include <linux/random.h> #endif #include "types.h" #include "util.h" @@ -114,11 +114,11 @@ rndlinux_gather_random( void (*add)(const void*, size_t, int), int requester, fd = fd_urandom; } - #if 0 - #ifdef HAVE_DEV_RANDOM_IOCTL +#if 0 +#ifdef HAVE_DEV_RANDOM_IOCTL g10_log_info("entropy count of %d is %lu\n", fd, get_entropy_count(fd) ); - #endif - #endif +#endif +#endif while( length ) { fd_set rfds; struct timeval tv; |