From 3605051728c5e3ecb6b9c4cce716c1a9fbaebc7b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 11 Sep 2002 07:31:06 +0000 Subject: [PATCH] * configure.ac (random_modules): The default random module for system lacking a /dev/random is now auto selected at runtime. --- ChangeLog | 5 +++++ NEWS | 6 +++++- README | 2 +- configure.ac | 7 ++++--- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9731e7bdd..238c43e4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-09-11 Werner Koch + + * configure.ac (random_modules): The default random module for + system lacking a /dev/random is now auto selected at runtime. + 2002-09-09 David Shaw * NEWS: typo. diff --git a/NEWS b/NEWS index bc696de09..cc14f36d4 100644 --- a/NEWS +++ b/NEWS @@ -35,12 +35,16 @@ Noteworthy changes in version 1.1.92 * The configure option --with-static-rnd=auto allows to build gpg with all available entropy gathering modules included. At runtime the best usable one will be selected from the list - linux, egd, unix. + linux, egd, unix. This is also the default for systems lacking + a /dev/random device. * The default character set is now taken from the current locale; it can still be overridden by the --charset option. Using the option -vvv shows the used character set. + * --emulate-checksum-bug and --emulate-3des-s2k-bug have been + removed. + Noteworthy changes in version 1.1.91 (2002-08-04) ------------------------------------------------- diff --git a/README b/README index de48243a1..0ef434104 100644 --- a/README +++ b/README @@ -453,7 +453,7 @@ --enable-static-rnd= Force the use of the random byte gathering module . Default is either to use /dev/random - or the standard Unix module. Value for name: + or the auto mode. Value for name: egd - Use the module which accesses the Entropy Gathering Daemon. See the webpages for more information about it. diff --git a/configure.ac b/configure.ac index c052e16d4..13babf7ff 100644 --- a/configure.ac +++ b/configure.ac @@ -658,15 +658,16 @@ if test "$use_static_rnd" = default; then : ;; *) - random_modules="rndunix" + random_modules="rndlinux rndegd rndunix" + AC_DEFINE(USE_ALL_RANDOM_MODULES, 1, + [Allow to select random modules at runtime.]) ;; esac fi else if test "$use_static_rnd" = auto; then random_modules="rndlinux rndegd rndunix" - AC_DEFINE(USE_ALL_RANDOM_MODULES, 1, - [Allow to select random modules at runtime.]) + AC_DEFINE(USE_ALL_RANDOM_MODULES, 1) else random_modules="rnd$use_static_rnd"; fi