diff options
author | Werner Koch <[email protected]> | 2002-08-30 16:33:55 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2002-08-30 16:33:55 +0000 |
commit | 0073d6865d5940cd3ee71d0158059bd5b22112a8 (patch) | |
tree | 7d2f54a5e51e01f0a7bc039eef6fa861e0068452 /cipher/rand-internal.h | |
parent | * gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms. (diff) | |
download | gnupg-0073d6865d5940cd3ee71d0158059bd5b22112a8.tar.gz gnupg-0073d6865d5940cd3ee71d0158059bd5b22112a8.zip |
* random.c: Automagically detect the entrop gatherer when
configure so.
* rndegd.c (rndegd_connect_socket): New. Factored out from ..
(rndegd_gather_random): here and call it.
(do_read): Update the counter variables correctly. This was not a
problem due to the way EGD works. Bug found by Christian Biere.
Diffstat (limited to '')
-rw-r--r-- | cipher/rand-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cipher/rand-internal.h b/cipher/rand-internal.h index eb81174f8..581902b2a 100644 --- a/cipher/rand-internal.h +++ b/cipher/rand-internal.h @@ -24,6 +24,7 @@ int rndunix_gather_random (void (*add)(const void*, size_t, int), int requester, size_t length, int level); int rndlinux_gather_random (void (*add)(const void*, size_t, int), int requester, size_t length, int level); +int rndegd_connect_socket (int nofail); int rndegd_gather_random (void (*add)(const void*, size_t, int), int requester, size_t length, int level ); int rndw32_gather_random (void (*add)(const void*, size_t, int), |