aboutsummaryrefslogtreecommitdiffstats
path: root/cipher
diff options
context:
space:
mode:
Diffstat (limited to 'cipher')
-rw-r--r--cipher/ChangeLog6
-rw-r--r--cipher/Makefile.am2
-rw-r--r--cipher/rndlinux.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog
index 087c45838..db101efa6 100644
--- a/cipher/ChangeLog
+++ b/cipher/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-18 Werner Koch <[email protected]>
+
+ * rndlinux.c (gather_random): casted a size_t arg to int so that
+ the format string is correct. Casting is okay here and avoids
+ translation changes.
+
2001-06-12 Werner Koch <[email protected]>
* rndw32.c (slow_gatherer_windowsNT): Ditto. Not really needed here but anyway.
diff --git a/cipher/Makefile.am b/cipher/Makefile.am
index 1c33e1de5..023b8dc5a 100644
--- a/cipher/Makefile.am
+++ b/cipher/Makefile.am
@@ -19,7 +19,7 @@
## Process this file with automake to produce Makefile.in
-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
+INCLUDES = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl
noinst_LIBRARIES = libcipher.a
diff --git a/cipher/rndlinux.c b/cipher/rndlinux.c
index 5f2ccf241..566d759f6 100644
--- a/cipher/rndlinux.c
+++ b/cipher/rndlinux.c
@@ -141,7 +141,7 @@ gather_random( void (*add)(const void*, size_t, int), int requester,
#endif
_("\n"
"Not enough random bytes available. Please do some other work to give\n"
-"the OS a chance to collect more entropy! (Need %d more bytes)\n"), length );
+"the OS a chance to collect more entropy! (Need %d more bytes)\n"), (int)length );
warn = 1;
continue;
}