~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rand/rand.c: Fix incorrect assertion.
[catacomb]
/
rand
/
rand.c
diff --git
a/rand/rand.c
b/rand/rand.c
index
ab00e89
..
e0bebbf
100644
(file)
--- a/
rand/rand.c
+++ b/
rand/rand.c
@@
-327,7
+327,7
@@
void rand_stretch(rand_pool *r)
/* --- Now mangle the buffer based on the hash --- */
- assert(CIPHER_KEYSZ < HASH_SZ);
+ assert(CIPHER_KEYSZ <
=
HASH_SZ);
CIPHER_INIT(&cc, h, CIPHER_KEYSZ, 0);
CIPHER_ENCRYPT(&cc, r->buf, r->buf, RAND_BUFSZ);
BURN(cc);