svn rev #24653: trunk/src/
ghudson@MIT.EDU
ghudson at MIT.EDU
Thu Feb 24 04:59:22 EST 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=24653
Commit By: ghudson
Log Message:
ticket: 6874
Make Fortuna the default PRNG algorithm.
Changed Files:
U trunk/src/configure.in
Modified: trunk/src/configure.in
===================================================================
--- trunk/src/configure.in 2011-02-24 09:58:45 UTC (rev 24652)
+++ trunk/src/configure.in 2011-02-24 09:59:22 UTC (rev 24653)
@@ -154,28 +154,18 @@
if test "$CRYPTO_IMPL" = nss; then
PRNG_ALG="nss"
else
-PRNG_ALG="yarrow"
AC_ARG_WITH([prng-alg],
-AC_HELP_STRING([--with-prng-alg=ALG], [use specified PRNG algorithm. Ignored for nss. @<:@yarrow@:>@]),
+AC_HELP_STRING([--with-prng-alg=ALG], [use specified PRNG algorithm. Ignored for nss. @<:@fortuna@:>@]),
[PRNG_ALG=$withval
AC_MSG_RESULT("k5crypto will use \'$withval\'")
-], withval=yarrow)
+], PRNG_ALG=fortuna)
fi
AC_CONFIG_COMMANDS(PRNG_ALG, , PRNG_ALG=$PRNG_ALG)
AC_SUBST(PRNG_ALG)
-if test "$withval" = fortuna; then
+if test "$PRNG_ALG" = fortuna; then
AC_DEFINE(FORTUNA,1,[Define if Fortuna PRNG is selected])
fi
-AC_ARG_ENABLE([fortuna-test],
- [ --enable-fortuna-test build to test Fortuna PRNG],,enableval=no)
-if test "$enableval" = yes ; then
- PRNG_FORTUNA_TEST="yes"
- AC_DEFINE(TEST_FORTUNA,1,[Create a special build to test Fortuna PRNG])
- AC_CONFIG_COMMANDS(PRNG_FORTUNA_TEST, , PRNG_FORTUNA_TEST=$PRNG_FORTUNA_TEST)
- AC_SUBST(PRNG_FORTUNA_TEST)
-fi
-
# --with-kdc-kdb-update makes the KDC update the database with last request
# information and failure information.
More information about the cvs-krb5
mailing list