mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
With --enable-gpg the keyservers are now build and a first test using gpg2
shows no prblems. Needs more testing of course.
This commit is contained in:
parent
5be40e9fad
commit
b744f963d7
36 changed files with 952 additions and 372 deletions
|
@ -67,10 +67,11 @@ typedef gnutls_transport_ptr gnutls_transport_ptr_t;
|
|||
|
||||
#include "util.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 USE_DNS_SRV
|
||||
#ifndef MAXDNAME
|
||||
#define MAXDNAME 1025
|
||||
#endif
|
||||
|
@ -1366,7 +1367,7 @@ connect_server (const char *server, unsigned short port,
|
|||
{
|
||||
char srvname[MAXDNAME];
|
||||
|
||||
stprcpy (stpcpy (stpcpy (stpcpy (srvname,"_"), srvtag),
|
||||
stpcpy (stpcpy (stpcpy (stpcpy (srvname,"_"), srvtag),
|
||||
"._tcp."), server);
|
||||
srvcount = getsrv (srvname, &serverlist);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue