summaryrefslogtreecommitdiffstats
path: root/cipher/rndegd.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-04-18 10:18:52 +0200
committerWerner Koch <wk@gnupg.org>1999-04-18 10:18:52 +0200
commit1feae2011ccd122ffb9a8f28013a13e57fc0b4fd (patch)
tree981a2000ffe3b4349bf3f2b8dbe845a60c15c95a /cipher/rndegd.c
parentSee ChangeLog: Fri Apr 9 12:26:25 CEST 1999 Werner Koch (diff)
downloadgnupg2-1feae2011ccd122ffb9a8f28013a13e57fc0b4fd.tar.xz
gnupg2-1feae2011ccd122ffb9a8f28013a13e57fc0b4fd.zip
See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner Koch
Diffstat (limited to 'cipher/rndegd.c')
-rw-r--r--cipher/rndegd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cipher/rndegd.c b/cipher/rndegd.c
index 7fc1f494c..495586231 100644
--- a/cipher/rndegd.c
+++ b/cipher/rndegd.c
@@ -83,7 +83,10 @@ do_read( int fd, void *buf, size_t nbytes )
-/* fixme: level 1 is not yet handled */
+/* Note: we always use the highest level.
+ * TO boost the performance we may want to add some
+ * additional code for level 1
+ */
static int
gather_random( void (*add)(const void*, size_t, int), int requester,
size_t length, int level )