aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Bellon <[email protected]>2002-01-02 17:52:02 +0000
committerStefan Bellon <[email protected]>2002-01-02 17:52:02 +0000
commit172fbebbcb01de2fee48501a7f3369508f125eeb (patch)
tree2cd42ffd397ba186d6ca0c8db3321cb864f09a54
parentmoved util.h include downwards (diff)
downloadgnupg-172fbebbcb01de2fee48501a7f3369508f125eeb.tar.gz
gnupg-172fbebbcb01de2fee48501a7f3369508f125eeb.zip
used different char types for RISC OS
-rw-r--r--g10/hkp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/g10/hkp.c b/g10/hkp.c
index e3835265c..2549db7e7 100644
--- a/g10/hkp.c
+++ b/g10/hkp.c
@@ -219,7 +219,11 @@ parse_hkp_index(IOBUF buffer,char *line)
{
static int open=0,revoked=0;
static char *key;
+#ifdef __riscos__
+ static char *uid;
+#else
static unsigned char *uid;
+#endif
static u32 bits,createtime;
int ret=0;
@@ -379,8 +383,13 @@ int hkp_search(STRLIST tokens)
{
int rc=0,len=0,first=1;
unsigned int maxlen=1024,buflen=0;
+#ifndef __riscos__
unsigned char *searchstr=NULL,*searchurl=NULL;
unsigned char *request;
+#else
+ char *searchstr=NULL,*searchurl=NULL;
+ char *request;
+#endif
struct http_context hd;
unsigned int hflags=opt.honor_http_proxy?HTTP_FLAG_TRY_PROXY:0;
byte *line=NULL;