diff options
author | Werner Koch <[email protected]> | 2017-04-03 18:56:12 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-04-03 18:56:12 +0000 |
commit | 3533b854408fa93734742b2ee12b62aa0d55ff28 (patch) | |
tree | 80e6b337fac1b54d7d3759913ff5aa931e4cdbd6 /doc/dirmngr.texi | |
parent | dirmngr,w32: Silence the 'certificate already cached' message. (diff) | |
download | gnupg-3533b854408fa93734742b2ee12b62aa0d55ff28.tar.gz gnupg-3533b854408fa93734742b2ee12b62aa0d55ff28.zip |
dirmngr: New option --disable-ipv6
* dirmngr/dirmngr.h (struct opt): Add field 'disable_ipv6'.
* dirmngr/dirmngr.c (oDisableIPv6): New const.
(opts): New option --disable-ipv6.
(parse_rereadable_options): Set that option.
* dirmngr/dns-stuff.c (opt_disable_ipv6): New var.
(set_dns_disable_ipv6): New.
(resolve_name_standard): Make use of it.
* dirmngr/ks-engine-finger.c (ks_finger_fetch): Take care of
OPT.DISABLE_IPV6.
* dirmngr/ks-engine-hkp.c (map_host): Ditto.
(send_request): Ditto.
* dirmngr/ks-engine-http.c (ks_http_fetch): Ditto.
* dirmngr/ocsp.c (do_ocsp_request): Ditto.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/dirmngr.texi')
-rw-r--r-- | doc/dirmngr.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/dirmngr.texi b/doc/dirmngr.texi index 7a6ba47b4..027bb949d 100644 --- a/doc/dirmngr.texi +++ b/doc/dirmngr.texi @@ -314,9 +314,10 @@ a numerical IP address must be given (IPv6 or IPv4) and that no error checking is done for @var{ipaddr}. @item --disable-ipv4 +@item --disable-ipv6 @opindex disable-ipv4 -Disable the use of all IPv4 addresses. This option is mainly useful -for debugging. +@opindex disable-ipv6 +Disable the use of all IPv4 or IPv6 addresses. @item --disable-ldap @opindex disable-ldap |