summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/librandom/random_makeseed.c4
-rw-r--r--src/libstddjb/cdb_make.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/librandom/random_makeseed.c b/src/librandom/random_makeseed.c
index 00def5b..61244c6 100644
--- a/src/librandom/random_makeseed.c
+++ b/src/librandom/random_makeseed.c
@@ -9,8 +9,8 @@
/*
Writes 160 bytes of crap into s.
Certainly not cryptographically secure or 100% unpredictable,
- but we're only using this to speed up /dev/urandom
- initialization or to init an internal SURF PRNG.
+ but we're only using this to help shuffle the entropy of
+ /dev/urandom or to init an internal SURF PRNG.
iow: we are CS iff the system's RNG is CS.
*/
diff --git a/src/libstddjb/cdb_make.c b/src/libstddjb/cdb_make.c
index 930d69e..53e64b1 100644
--- a/src/libstddjb/cdb_make.c
+++ b/src/libstddjb/cdb_make.c
@@ -19,7 +19,7 @@ int cdb_make_start (struct cdb_make *c, int fd)
return 0 ;
}
-static int posplus (struct cdb_make *c, uint32 len)
+static int posplus (struct cdb_make *c, uint32_t len)
{
uint32_t newpos = c->pos + len ;
if (newpos < len) return (errno = ENOMEM, 0) ;