ECC-GOST may not be 11, moved to experimental again, and not default on

git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2066 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
wouter 2010-04-07 17:46:32 +00:00
parent cc89cee01f
commit 81acac3047
2 changed files with 8 additions and 8 deletions

8
configure vendored
View File

@ -1585,7 +1585,7 @@ Optional Features:
--disable-rpath disable hardcoded rpath (default=enabled)
--disable-largefile omit support for large files
--disable-sha2 Disable SHA256 and SHA512 RRSIG support
--disable-gost Disable GOST support
--enable-gost Enable GOST support, experimental
--enable-static-exe enable to compile executables statically against
event, ldns libs, for debug purposes
--enable-lock-checks enable to check lock and unlock calls, for debug
@ -19995,9 +19995,7 @@ if test "${enable_gost+set}" = set; then
fi
case "$enable_gost" in
no)
;;
yes|*)
yes)
{ $as_echo "$as_me:$LINENO: checking for EVP_PKEY_set_type_str" >&5
$as_echo_n "checking for EVP_PKEY_set_type_str... " >&6; }
if test "${ac_cv_func_EVP_PKEY_set_type_str+set}" = set; then
@ -20097,6 +20095,8 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
;;
no|*)
;;
esac
# check for libevent

View File

@ -418,14 +418,14 @@ case "$enable_sha2" in
;;
esac
AC_ARG_ENABLE(gost, AC_HELP_STRING([--disable-gost], [Disable GOST support]))
AC_ARG_ENABLE(gost, AC_HELP_STRING([--enable-gost], [Enable GOST support, experimental]))
case "$enable_gost" in
no)
;;
yes|*)
yes)
AC_CHECK_FUNC(EVP_PKEY_set_type_str, [:],[AC_MSG_ERROR([OpenSSL >= 1.0.0 is needed for GOST support, upgrade openssl or rerun with --disable-gost])])
AC_DEFINE([USE_GOST], [1], [Define this to enable GOST support.])
;;
no|*)
;;
esac
# check for libevent