1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

dirmngr: Make building with a TLS library mandatory

* configure.ac: Do not build dirmngr if no TLS is available.
* dirmngr/http.c: Remove all uses of the USE_TLS macro.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2019-11-26 12:02:27 +01:00
parent 8fb14d3b3f
commit 1009e4e5f7
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 37 additions and 59 deletions

View file

@ -1026,7 +1026,7 @@ AC_ARG_ENABLE(npth-debug,
#
# NTBTLS is our TLS library. If it is not available fallback to
# NTBTLS is our TLS library. If it is not available we fall back to
# GNUTLS.
#
AC_ARG_ENABLE(ntbtls,
@ -1057,9 +1057,10 @@ else
AC_DEFINE(HTTP_USE_GNUTLS, 1, [Enable GNUTLS support in http.c])
else
tmp=$(echo "$LIBGNUTLS_PKG_ERRORS" | tr '\n' '\v' | sed 's/\v/\n*** /g')
build_dirmngr=no
AC_MSG_WARN([[
***
*** Building without NTBTLS and GNUTLS - no TLS access to keyservers.
*** Neither NTBTLS nor GNUTLS available - not building dirmngr.
***
*** $tmp]])
fi