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