From e6e35d9937984091b1de697d6cd76007017cd354 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Thu, 6 Jun 2002 16:25:16 +0000 Subject: [PATCH] * gpgkeys_hkp.c (parse_hkp_index): Type tweaks. * gpgkeys_hkp.c (main): Add experimental code warning. --- keyserver/ChangeLog | 6 ++++++ keyserver/gpgkeys_hkp.c | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog index 18fc771b8..7e5fe1fa1 100644 --- a/keyserver/ChangeLog +++ b/keyserver/ChangeLog @@ -1,3 +1,9 @@ +2002-06-06 David Shaw + + * gpgkeys_hkp.c (parse_hkp_index): Type tweaks. + + * gpgkeys_hkp.c (main): Add experimental code warning. + 2002-06-05 David Shaw * Makefile.am, gpgkeys_hkp.c (new): Experimental HKP keyserver diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c index 0189dd33f..24bc9cb0d 100644 --- a/keyserver/gpgkeys_hkp.c +++ b/keyserver/gpgkeys_hkp.c @@ -397,8 +397,7 @@ unsigned int scan_isodatestr( const char *string ) int parse_hkp_index(char *line,char **buffer) { static int open=0,revoked=0; - static char *key; - static unsigned char *uid; + static char *key,*uid; static unsigned int bits,createtime; int ret=0; @@ -662,6 +661,9 @@ int main(int argc,char *argv[]) console=stderr; + fprintf(console, + "gpgkeys: Warning: this is an *experimental* HKP interface!\n"); + while((arg=getopt(argc,argv,"ho:"))!=-1) switch(arg) {