aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/gpgkeys_hkp.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-08-28 20:10:29 +0000
committerDavid Shaw <[email protected]>2002-08-28 20:10:29 +0000
commit262a8719a44879a1dab9bc4aae8e667878f853cd (patch)
treed822737c80753d251e97764d75636b04d10887f0 /keyserver/gpgkeys_hkp.c
parent* sig-check.c (do_check_messages, do_check): Show keyid in error messages. (diff)
downloadgnupg-262a8719a44879a1dab9bc4aae8e667878f853cd.tar.gz
gnupg-262a8719a44879a1dab9bc4aae8e667878f853cd.zip
* gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms.
This was probably leftover from earlier code where the typing mattered.
Diffstat (limited to '')
-rw-r--r--keyserver/gpgkeys_hkp.c7
1 files changed, 1 insertions, 6 deletions
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;