diff options
author | Werner Koch <[email protected]> | 1999-02-24 10:12:32 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1999-02-24 10:12:32 +0000 |
commit | d1b9b359a6361a964094cde0eb667becbefc90eb (patch) | |
tree | 5f9b51104f54240748517f0c2b1fa0377f152b58 /cipher/rndunix.c | |
parent | *** empty log message *** (diff) | |
download | gnupg-d1b9b359a6361a964094cde0eb667becbefc90eb.tar.gz gnupg-d1b9b359a6361a964094cde0eb667becbefc90eb.zip |
See ChangeLog: Wed Feb 24 11:07:27 CET 1999 Werner Koch
Diffstat (limited to 'cipher/rndunix.c')
-rw-r--r-- | cipher/rndunix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/rndunix.c b/cipher/rndunix.c index 71f75dfc2..145f17fbd 100644 --- a/cipher/rndunix.c +++ b/cipher/rndunix.c @@ -477,13 +477,14 @@ slow_poll(FILE *dbgfp, int dbgall, size_t *nbytes ) /* Try and estimate how much entropy we're getting * from a data source */ - if (dataSources[i].usefulness) + if (dataSources[i].usefulness) { if (dataSources[i].usefulness < 0) total = (dataSources[i].length + 999) / -dataSources[i].usefulness; else total = dataSources[i].length / dataSources[i].usefulness; + } if( dbgfp ) fprintf(dbgfp, "%s %s contributed %d bytes, " |