sha256 support enabled by default.

git-svn-id: file:///svn/unbound/trunk@1878 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-10-28 21:56:54 +00:00
parent 3b78d84a7e
commit 9a08ad419e
4 changed files with 12 additions and 11 deletions

8
configure vendored
View file

@ -1580,7 +1580,7 @@ Optional Features:
optimize for fast installation [default=yes] optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds) --disable-libtool-lock avoid locking (might break parallel builds)
--disable-rpath disable hardcoded rpath (default=enabled) --disable-rpath disable hardcoded rpath (default=enabled)
--enable-sha2 Enable SHA256 and SHA512 RRSIG support, experimental --disable-sha2 Disable SHA256 and SHA512 RRSIG support
--enable-gost Enable GOST support, experimental --enable-gost Enable GOST support, experimental
--enable-static-exe enable to compile executables statically against --enable-static-exe enable to compile executables statically against
event, ldns libs, for debug purposes event, ldns libs, for debug purposes
@ -17910,15 +17910,15 @@ if test "${enable_sha2+set}" = set; then
fi fi
case "$enable_sha2" in case "$enable_sha2" in
yes) no)
;;
yes|*)
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define USE_SHA2 1 #define USE_SHA2 1
_ACEOF _ACEOF
;; ;;
no|*)
;;
esac esac
# Check whether --enable-gost was given. # Check whether --enable-gost was given.

View file

@ -386,12 +386,12 @@ AC_INCLUDES_DEFAULT
#include <openssl/evp.h> #include <openssl/evp.h>
]) ])
AC_ARG_ENABLE(sha2, AC_HELP_STRING([--enable-sha2], [Enable SHA256 and SHA512 RRSIG support, experimental])) AC_ARG_ENABLE(sha2, AC_HELP_STRING([--disable-sha2], [Disable SHA256 and SHA512 RRSIG support]))
case "$enable_sha2" in case "$enable_sha2" in
yes) no)
AC_DEFINE([USE_SHA2], [1], [Define this to enable SHA256 and SHA512 support.])
;; ;;
no|*) yes|*)
AC_DEFINE([USE_SHA2], [1], [Define this to enable SHA256 and SHA512 support.])
;; ;;
esac esac

View file

@ -1,6 +1,7 @@
29 October 2009: Wouter 28 October 2009: Wouter
- removed abort on prealloc failure, error still printed but softfail. - removed abort on prealloc failure, error still printed but softfail.
- iana portlist updated. - iana portlist updated.
- RFC 5702: RSASHA256 and RSASHA512 support enabled by default.
27 October 2009: Wouter 27 October 2009: Wouter
- iana portlist updated. - iana portlist updated.

View file

@ -63,8 +63,8 @@ This software is under BSD license, see LICENSE for details.
Needs python-devel and swig development tools. Needs python-devel and swig development tools.
* --with-pythonmodule * --with-pythonmodule
Compile the python module that processes responses in the server. Compile the python module that processes responses in the server.
* --enable-sha2 * --disable-sha2
Enable draft support for RSASHA256 and RSASHA512 crypto. Disable support for RSASHA256 and RSASHA512 crypto.
* --enable-gost * --enable-gost
Enable draft support for GOST crypto. Enable draft support for GOST crypto.