diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Makefile.in | 6 | ||||
-rw-r--r-- | entropy.c | 13 |
3 files changed, 13 insertions, 9 deletions
@@ -8,6 +8,9 @@ | |||
8 | channel layer support for ssh2 | 8 | channel layer support for ssh2 |
9 | - [kex.h kex.c hmac.h hmac.c dsa.c dsa.h] | 9 | - [kex.h kex.c hmac.h hmac.c dsa.c dsa.h] |
10 | DSA, keyexchange, algorithm agreement for ssh2 | 10 | DSA, keyexchange, algorithm agreement for ssh2 |
11 | - Generate manpages before make install not at the end of make all | ||
12 | - Don't seed the rng quite so often | ||
13 | - Always reseed rng when requested | ||
11 | 14 | ||
12 | 20000403 | 15 | 20000403 |
13 | - Wrote entropy collection routines for systems that lack /dev/random | 16 | - Wrote entropy collection routines for systems that lack /dev/random |
diff --git a/Makefile.in b/Makefile.in index bb08b53b9..196cc5786 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -47,7 +47,9 @@ PATHSUBS = -D/etc/ssh_config=$(sysconfdir)/ssh_config -D/etc/known_hosts=$(sysco | |||
47 | 47 | ||
48 | FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) | 48 | FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS) |
49 | 49 | ||
50 | all: $(TARGETS) $(MANPAGES) $(CONFIGFILES) | 50 | all: $(TARGETS) $(CONFIGFILES) |
51 | |||
52 | manpages: $(MANPAGES) | ||
51 | 53 | ||
52 | $(LIBOBJS): config.h | 54 | $(LIBOBJS): config.h |
53 | 55 | ||
@@ -95,7 +97,7 @@ catman-do: | |||
95 | >$${f%%.[18]}.0 ; \ | 97 | >$${f%%.[18]}.0 ; \ |
96 | done | 98 | done |
97 | 99 | ||
98 | install: $(TARGETS) | 100 | install: manpages $(TARGETS) |
99 | $(INSTALL) -d $(DESTDIR)$(bindir) | 101 | $(INSTALL) -d $(DESTDIR)$(bindir) |
100 | $(INSTALL) -d $(DESTDIR)$(sbindir) | 102 | $(INSTALL) -d $(DESTDIR)$(sbindir) |
101 | $(INSTALL) -d $(DESTDIR)$(mandir) | 103 | $(INSTALL) -d $(DESTDIR)$(mandir) |
@@ -41,7 +41,7 @@ | |||
41 | # include <ssl/sha.h> | 41 | # include <ssl/sha.h> |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | RCSID("$Id: entropy.c,v 1.2 2000/04/03 05:07:32 damien Exp $"); | 44 | RCSID("$Id: entropy.c,v 1.3 2000/04/04 05:04:10 damien Exp $"); |
45 | 45 | ||
46 | #ifdef EGD_SOCKET | 46 | #ifdef EGD_SOCKET |
47 | #ifndef offsetof | 47 | #ifndef offsetof |
@@ -424,11 +424,10 @@ seed_rng(void) | |||
424 | void | 424 | void |
425 | seed_rng(void) | 425 | seed_rng(void) |
426 | { | 426 | { |
427 | if (!RAND_status()) { | 427 | debug("Seeding random number generator."); |
428 | debug("Seeding random number generator."); | 428 | debug("OpenSSL random status is now %i\n", RAND_status()); |
429 | debug("%i bytes from system calls", (int)stir_from_system()); | 429 | debug("%i bytes from system calls", (int)stir_from_system()); |
430 | debug("%i bytes from programs", (int)stir_from_programs()); | 430 | debug("%i bytes from programs", (int)stir_from_programs()); |
431 | debug("OpenSSL random status is now %i\n", RAND_status()); | 431 | debug("OpenSSL random status is now %i\n", RAND_status()); |
432 | } | ||
433 | } | 432 | } |
434 | #endif /* defined(EGD_SOCKET) || defined(RANDOM_POOL) */ | 433 | #endif /* defined(EGD_SOCKET) || defined(RANDOM_POOL) */ |