diff options
Diffstat (limited to 'cipher/random.c')
-rw-r--r-- | cipher/random.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cipher/random.c b/cipher/random.c index 198663536..ffafd9a87 100644 --- a/cipher/random.c +++ b/cipher/random.c @@ -423,9 +423,8 @@ read_pool( byte *buffer, size_t length, int level ) int i; ulong *sp, *dp; - if( length >= POOLSIZE ) { - log_fatal(_("too many random bits requested; the limit is %d\n"), - POOLSIZE*8-1 ); + if( length > POOLSIZE ) { + log_bug("too many random bits requested\n"); } if( !pool_filled ) { |