]> git.ipfire.org Git - thirdparty/curl.git/commit
gnutls: Fix nettle discovery
authorDaniel Gustafsson <daniel@yesql.se>
Thu, 25 Feb 2021 17:20:33 +0000 (18:20 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Thu, 25 Feb 2021 17:20:33 +0000 (18:20 +0100)
commit09a5bff1c9cb9c305ac18f5c4f1f6233badcd8b4
treee8c0773beb3373f233fb584b04c3cec790015f8e
parent82c583dcf009f038a9ceccc695f942f24015f9ab
gnutls: Fix nettle discovery

Commit e06fa7462ac258c removed support for libgcrypt leaving only
support for nettle which has been the default crypto library in
GnuTLS for a long time. There were however a few conditionals on
USE_GNUTLS_NETTLE which cause compilation errors in the metalink
code (as it used the gcrypt fallback instead as a result). See the
below autobuild for an example of the error:

  https://curl.se/dev/log.cgi?id=20210225123226-30704#prob1

This removes all uses of USE_GNUTLS_NETTLE and also removes the
gcrypt support from the metalink code while at it.

Closes #6656
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
lib/curl_ntlm_core.h
packages/vms/generate_config_vms_h_curl.com
src/tool_metalink.c