summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CREDITS3
-rw-r--r--ChangeLog1
-rw-r--r--entropy.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/CREDITS b/CREDITS
index 95fc7c160..3539addc3 100644
--- a/CREDITS
+++ b/CREDITS
@@ -25,9 +25,10 @@ Gary E. Miller <gem@rellim.com> - SCO support
25Ged Lodder <lodder@yacc.com.au> - HPUX fixes and enhancements 25Ged Lodder <lodder@yacc.com.au> - HPUX fixes and enhancements
26Gert Doering <gd@hilb1.medat.de> - bug and portability fixes 26Gert Doering <gd@hilb1.medat.de> - bug and portability fixes
27HARUYAMA Seigo <haruyama@nt.phys.s.u-tokyo.ac.jp> - Translations & doc fixes 27HARUYAMA Seigo <haruyama@nt.phys.s.u-tokyo.ac.jp> - Translations & doc fixes
28Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp> - IPv6 fixes 28Hideaki YOSHIFUJI <yoshfuji@ecei.tohoku.ac.jp> - IPv6 and bug fixes
29Hiroshi Takekawa <takekawa@sr3.t.u-tokyo.ac.jp> - Configure fixes 29Hiroshi Takekawa <takekawa@sr3.t.u-tokyo.ac.jp> - Configure fixes
30Holger Trapp <Holger.Trapp@Informatik.TU-Chemnitz.DE> - KRB4/AFS config patch 30Holger Trapp <Holger.Trapp@Informatik.TU-Chemnitz.DE> - KRB4/AFS config patch
31IWAMURO Motonori <iwa@mmp.fujitsu.co.jp> - bugfixes
31Jani Hakala <jahakala@cc.jyu.fi> - Patches 32Jani Hakala <jahakala@cc.jyu.fi> - Patches
32Jarno Huuskonen <jhuuskon@hytti.uku.fi> - Bugfixes 33Jarno Huuskonen <jhuuskon@hytti.uku.fi> - Bugfixes
33Jim Knoble <jmknoble@pobox.com> - Many patches 34Jim Knoble <jmknoble@pobox.com> - Many patches
diff --git a/ChangeLog b/ChangeLog
index 2899a4c4c..a87f32b74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
120000531 120000531
2 - Cleanup of auth.c, login.c and fake-* 2 - Cleanup of auth.c, login.c and fake-*
3 - Cleanup of auth-pam.c, save and print "account expired" error messages 3 - Cleanup of auth-pam.c, save and print "account expired" error messages
4 - Fix EGD read bug by IWAMURO Motonori <iwa@mmp.fujitsu.co.jp>
4 5
520000530 620000530
6 - Define atexit for old Solaris 7 - Define atexit for old Solaris
diff --git a/entropy.c b/entropy.c
index cc7e81527..ffadd32c7 100644
--- a/entropy.c
+++ b/entropy.c
@@ -35,7 +35,7 @@
35#include <openssl/rand.h> 35#include <openssl/rand.h>
36#include <openssl/sha.h> 36#include <openssl/sha.h>
37 37
38RCSID("$Id: entropy.c,v 1.11 2000/05/17 12:08:30 damien Exp $"); 38RCSID("$Id: entropy.c,v 1.12 2000/05/31 01:24:34 damien Exp $");
39 39
40#ifdef EGD_SOCKET 40#ifdef EGD_SOCKET
41#ifndef offsetof 41#ifndef offsetof
@@ -82,8 +82,6 @@ void get_random_bytes(unsigned char *buf, int len)
82 c = atomicio(read, egd_socket, buf, len); 82 c = atomicio(read, egd_socket, buf, len);
83 if (c <= 0) 83 if (c <= 0)
84 fatal("Couldn't read from EGD socket \"%s\": %s", EGD_SOCKET, strerror(errno)); 84 fatal("Couldn't read from EGD socket \"%s\": %s", EGD_SOCKET, strerror(errno));
85
86 close(EGD_SOCKET);
87} 85}
88#else /* !EGD_SOCKET */ 86#else /* !EGD_SOCKET */
89#ifdef RANDOM_POOL 87#ifdef RANDOM_POOL