mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
* srv.c (main): Test against wwwkeys.pgp.net.
* srv.h: Grr. The RH7.3 Linux man page defines the fourth arg of dn_expand as unsigned char*, but it is really char* according to resolv.h.
This commit is contained in:
parent
6b55878912
commit
01d6a55b77
@ -1,3 +1,11 @@
|
||||
2003-04-13 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* srv.c (main): Test against wwwkeys.pgp.net.
|
||||
|
||||
* srv.h: Grr. The RH7.3 Linux man page defines the fourth arg of
|
||||
dn_expand as unsigned char*, but it is really char* according to
|
||||
resolv.h.
|
||||
|
||||
2003-03-23 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* argparse.c (default_strusage): Change copyright date.
|
||||
|
@ -230,7 +230,7 @@ main(int argc,char *argv[])
|
||||
struct srventry *srv;
|
||||
int rc,i;
|
||||
|
||||
rc=getsrv("_hkp._tcp.pgp.net",&srv);
|
||||
rc=getsrv("_hkp._tcp.wwwkeys.pgp.net",&srv);
|
||||
printf("Count=%d\n\n",rc);
|
||||
for(i=0;i<rc;i++)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ struct srventry
|
||||
u16 weight;
|
||||
u16 port;
|
||||
int run_count;
|
||||
unsigned char target[MAXDNAME];
|
||||
char target[MAXDNAME];
|
||||
};
|
||||
|
||||
int getsrv(const char *name,struct srventry **list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user