mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
cb45ebb874
gzipped. Submitted by: Peter Gildea <peter@gildea.net>
12 lines
405 B
Plaintext
12 lines
405 B
Plaintext
--- lib/ttyui/pgpUserIO.c.orig Wed May 24 08:27:17 2000
|
|
+++ lib/ttyui/pgpUserIO.c Wed May 24 08:28:52 2000
|
|
@@ -1321,7 +1321,7 @@ pgpDevRandomAccum(int fd, unsigned count
|
|
pgpAssert(fd >= 0);
|
|
|
|
for(i = 0; i <= count; ++i) {
|
|
- RandBuf = read(fd, &RandBuf, count);
|
|
+ read(fd, &RandBuf, 1);
|
|
pgpRandomAddBytes(&pgpRandomPool, (byte *)&RandBuf, sizeof(RandBuf));
|
|
pgpRandPoolAddEntropy(256);
|
|
}
|