aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-09-18 15:37:42 +0000
committerWerner Koch <[email protected]>2023-09-26 11:58:31 +0000
commit845d5e61d8e1ed4f25da424cfc5b0bb0fbb8678d (patch)
tree5aa1e45ac87a89971b1d3d43d98d051e407d9ca6 /configure.ac
parentgpg: Fix --no-utf8-strings. (diff)
downloadgnupg-845d5e61d8e1ed4f25da424cfc5b0bb0fbb8678d.tar.gz
gnupg-845d5e61d8e1ed4f25da424cfc5b0bb0fbb8678d.zip
dirmngr: Cleanup the http module.
* configure.ac (NEED_NTBTLS_VERSION): Require at least 0.2.0 so that we can remove a conditional compilation. * dirmngr/http.c (struct proxy_info_s): New. (release_proxy_info): New to keep proxy information in one object. (send_request): Factor some code out to ... (get_proxy_for_url): this, (send_request_basic_checks): this, (send_request_set_sni): this, (run_ntbtls_handshake): this, (run_gnutls_handshake): and this. -- Note that this also removes some never used code. For example the NTBTLS handshake has code taken from GNUTLS which was never used due to the different ways on how the certificates are checked. The proxy code has been factored out to make to prepare further authentication methods. The proxy_info_t was introduced for the same reason. Tested against gnutls and ntbtls builds. No proxy tests yet done, because we need more sophisticated tests anyway. GnuPG-bug-id: 5768
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 953e2616f..cfe6091b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@ NEED_KSBA_API=1
NEED_KSBA_VERSION=1.6.3
NEED_NTBTLS_API=1
-NEED_NTBTLS_VERSION=0.1.0
+NEED_NTBTLS_VERSION=0.2.0
NEED_NPTH_API=1
NEED_NPTH_VERSION=1.2