1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-19 00:52:46 +02:00
gnupg/keyserver
David Shaw 5c557a51cd Issue 1447: Pass proper Host header and SNI when SRV is used with curl.
* configure.ac: Check for inet_ntop.

* m4/libcurl.m4: Provide a #define for the version of the curl
  library.

* keyserver/gpgkeys_hkp.c (main, srv_replace): Call getaddrinfo() on
  each target.  Once we find one that resolves to an address (whether
  IPv4 or IPv6), pass it into libcurl via CURLOPT_RESOLVE using the
  SRV name as the "host".  Force the HTTP Host header to be the same.

Backported from 6b1f71055e

* keyserver/gpgkeys_hkp.c (main): Only default try-dns-srv to on if we
  have SRV support in the first place.

Backported from 732f3d1d47
2012-12-19 13:54:27 -05:00
..
ChangeLog-2011 Rename all ChangeLog files to ChangeLog-2011. 2011-12-02 19:42:56 +01:00
curl-shim.c Fix issue 1446: honor ports given in SRV responses. 2012-12-18 21:58:53 -05:00
curl-shim.h Avoid caches to get the most recent copy of the key. This is bug 2009-05-26 14:15:56 +00:00
gpgkeys_curl.c Avoid caches to get the most recent copy of the key. This is bug 2009-05-26 14:15:56 +00:00
gpgkeys_finger.c * curl-shim.h (curl_version): No need to provide a version for 2008-11-18 17:09:07 +00:00
gpgkeys_hkp.c Issue 1447: Pass proper Host header and SNI when SRV is used with curl. 2012-12-19 13:54:27 -05:00
gpgkeys_ldap.c Allow building with the 32 bit mingw-w64 toolchain. 2012-01-12 18:10:30 +01:00
gpgkeys_mailto.in * gpgkeys_mailto.in: Set 'mail-from' as a keyserver-option, rather 2009-05-04 03:03:38 +00:00
gpgkeys_test.in Switched to GPLv3. 2007-10-23 10:48:09 +00:00
ksmalloc.c Restructured the compat functions and changed its license. 2009-08-25 20:00:24 +00:00
ksutil.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
ksutil.h Restructured the compat functions and changed its license. 2009-08-25 20:00:24 +00:00
Makefile.am Last minute fixes 2009-09-02 17:30:53 +00:00