DNS Cookies with libnettle too

This commit is contained in:
Willem Toorop 2018-12-11 15:13:17 +01:00
parent a6ab7ffe41
commit ab700e70fe
1 changed files with 2 additions and 2 deletions

View File

@ -791,8 +791,8 @@ case "$enable_edns_cookies" in
no)
;;
yes|*)
if test "x_$HAVE_SSL" != "x_yes"; then
AC_MSG_ERROR([edns cookies need openssl libcrypto which is not available, please rerun with --disable-edns-cookies])
if test "x_$HAVE_SSL" != "x_yes" -a $USE_NETTLE = "no"; then
AC_MSG_ERROR([edns cookies needs crypto library which is not available, please rerun with --disable-edns-cookies])
fi
AC_DEFINE_UNQUOTED([EDNS_COOKIES], [1], [Define this to enable the experimental edns cookies.])
;;