gnupg/cipher (ChangeLog random.c)
cvs user dshaw
cvs at cvs.gnupg.org
Tue Jun 7 19:41:41 CEST 2005
Date: Tuesday, June 7, 2005 @ 20:03:20
Author: dshaw
Path: /cvs/gnupg/gnupg/cipher
Modified: ChangeLog random.c
* random.c: Fix prototype of the fast random gatherer. Noted by Joe
Vender.
-----------+
ChangeLog | 5 +++++
random.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
Index: gnupg/cipher/ChangeLog
diff -u gnupg/cipher/ChangeLog:1.148 gnupg/cipher/ChangeLog:1.149
--- gnupg/cipher/ChangeLog:1.148 Wed Mar 23 09:50:27 2005
+++ gnupg/cipher/ChangeLog Tue Jun 7 20:03:19 2005
@@ -1,3 +1,8 @@
+2005-06-07 David Shaw <dshaw at jabberwocky.com>
+
+ * random.c: Fix prototype of the fast random gatherer. Noted by
+ Joe Vender.
+
2005-03-23 Werner Koch <wk at g10code.com>
* rndw32.c (rndw32_gather_random_fast): While adding data use the
Index: gnupg/cipher/random.c
diff -u gnupg/cipher/random.c:1.57 gnupg/cipher/random.c:1.58
--- gnupg/cipher/random.c:1.57 Tue May 31 10:39:18 2005
+++ gnupg/cipher/random.c Tue Jun 7 20:03:19 2005
@@ -183,7 +183,7 @@
return NULL;
}
-static void (*
+static int (*
getfnc_fast_random_poll (void))( void (*)(const void*, size_t, int), int)
{
#ifdef USE_RNDW32
@@ -620,7 +620,7 @@
void
fast_random_poll()
{
- static void (*fnc)( void (*)(const void*, size_t, int), int) = NULL;
+ static int (*fnc)( void (*)(const void*, size_t, int), int) = NULL;
static int initialized = 0;
rndstats.fastpolls++;
More information about the Gnupg-commits
mailing list