* 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:
David Shaw 2003-04-13 20:06:09 +00:00
parent 6b55878912
commit 01d6a55b77
3 changed files with 10 additions and 2 deletions

View File

@ -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.

View File

@ -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++)
{

View File

@ -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);