aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dns.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-01-11 15:41:15 +0000
committerWerner Koch <[email protected]>2017-01-11 15:41:15 +0000
commit09aeac41c97bc8ecb44a09886c7fdbd9a6ec5c7f (patch)
tree22d190be8cc6b29b9902c9aa145018e797d83e72 /dirmngr/dns.c
parentdirmngr: Remove warnings about unused global variables. (diff)
downloadgnupg-09aeac41c97bc8ecb44a09886c7fdbd9a6ec5c7f.tar.gz
gnupg-09aeac41c97bc8ecb44a09886c7fdbd9a6ec5c7f.zip
dirmngr: Fix Tor access for v6 addresses.
* dirmngr/http.c (use_socks): New. (my_sock_new_for_addr): New. (connect_server): Replace assuan_sock_new by my_sock_new_for_addr. -- Libassuan always uses 127.0.0.1 to connect to the local Tor proxy. https.c used to create a socket for the actual address family and thus the connect call in Libassuan fails when it tries to connect to a v6 address using a v4 socket. It would be cleaner to have the my_sock_new_for_addr function as a public interface in Libassuan; for now we need to duplicate some code. from Libassuan. GnuPG-bug-id: 2902 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/dns.c')
0 files changed, 0 insertions, 0 deletions