1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

* configure.ac (random_modules): The default random module for

system lacking a /dev/random is now auto selected at runtime.
This commit is contained in:
Werner Koch 2002-09-11 07:31:06 +00:00
parent 7a71a26d59
commit 3605051728
4 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2002-09-11 Werner Koch <wk@gnupg.org>
* 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 <dshaw@jabberwocky.com>
* NEWS: typo.

6
NEWS
View File

@ -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)
-------------------------------------------------

2
README
View File

@ -453,7 +453,7 @@
--enable-static-rnd=<name>
Force the use of the random byte gathering
module <name>. 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.

View File

@ -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