From 262a8719a44879a1dab9bc4aae8e667878f853cd Mon Sep 17 00:00:00 2001 From: David Shaw Date: Wed, 28 Aug 2002 20:10:29 +0000 Subject: [PATCH] * gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms. This was probably leftover from earlier code where the typing mattered. --- keyserver/ChangeLog | 4 ++++ keyserver/gpgkeys_hkp.c | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog index 7c7a383bb..0883e8568 100644 --- a/keyserver/ChangeLog +++ b/keyserver/ChangeLog @@ -1,5 +1,9 @@ 2002-08-28 David Shaw + * gpgkeys_hkp.c: (parse_hkp_index): Use same types on all + platforms. This was probably leftover from earlier code where the + typing mattered. + * gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be consistent in m_alloc and malloc usage. Remove include-disabled (meaningless on HKP). RISC OS tweak. diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c index f722c5f13..843035be8 100644 --- a/keyserver/gpgkeys_hkp.c +++ b/keyserver/gpgkeys_hkp.c @@ -378,12 +378,7 @@ static int parse_hkp_index(IOBUF buffer,char *line) { static int open=0,revoked=0; - static char *key=NULL,*type=NULL; -#ifdef __riscos__ - static char *uid=NULL; -#else - static unsigned char *uid=NULL; -#endif + static char *key=NULL,*type=NULL,*uid=NULL; static u32 bits,createtime; int ret=0;