1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/security/pgp5/files/patch-af
Kris Kennaway cb45ebb874 I am at a total loss as to how the patch was previously committed
gzipped.

Submitted by:	Peter Gildea <peter@gildea.net>
2000-05-27 21:23:54 +00:00

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);
}