13 lines
423 B
Text
13 lines
423 B
Text
$NetBSD: patch-ba,v 1.1 2002/08/25 15:18:42 mjl Exp $
|
|
|
|
--- lib/ttyui/pgpUserIO.c.orig Sun Aug 25 16:19:00 2002
|
|
+++ lib/ttyui/pgpUserIO.c Sun Aug 25 16:19:17 2002
|
|
@@ -1321,7 +1321,7 @@
|
|
pgpAssert(fd >= 0);
|
|
|
|
for(i = 0; i <= count; ++i) {
|
|
- RandBuf = read(fd, &RandBuf, count);
|
|
+ read(fd, &RandBuf, count);
|
|
pgpRandomAddBytes(&pgpRandomPool, (byte *)&RandBuf, sizeof(RandBuf));
|
|
pgpRandPoolAddEntropy(256);
|
|
}
|