aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-10-22 07:22:41 +0000
committerWerner Koch <[email protected]>2015-10-22 07:22:41 +0000
commit41bb01ae792af78edd28bf1b735cacc0b3ac428a (patch)
treeed764c6b22ac1bee077d3b99bc41bc072ff01c34 /dirmngr/http.c
parentdirmngr: Use the new DNS wrapper for the HTTP module. (diff)
downloadgnupg-41bb01ae792af78edd28bf1b735cacc0b3ac428a.tar.gz
gnupg-41bb01ae792af78edd28bf1b735cacc0b3ac428a.zip
Move SRV RR code from common/ to dirmngr/.
* common/srv.c: Merge into dirmngr/dns-stuff.c. Delete file. * common/srv.h: Merge into dirmngr/dns-stuff.h. Delete file. * common/Makefile.am (common_sources): Remove srv.c and srv.h. * g10/keyserver.c: Do not include srv.h. The code using it is anyway disabled. * dirmngr/http.c: Remove header srv.h and stubs. * dirmngr/t-dns-stuff.c: Add option --srv. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/http.c')
-rw-r--r--dirmngr/http.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/dirmngr/http.c b/dirmngr/http.c
index 19d5f8f21..4387b96b5 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -100,23 +100,6 @@
#include "i18n.h"
#include "dns-stuff.h"
#include "http.h"
-#ifdef USE_DNS_SRV
-# include "srv.h"
-#else /*!USE_DNS_SRV*/
- /* If we are not compiling with SRV record support we provide stub
- data structures. */
-# ifndef MAXDNAME
-# define MAXDNAME 1025
-# endif
-struct srventry
-{
- unsigned short priority;
- unsigned short weight;
- unsigned short port;
- int run_count;
- char target[MAXDNAME];
-};
-#endif/*!USE_DNS_SRV*/
#ifdef USE_NPTH