aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/gpgkeys_hkp.c
diff options
context:
space:
mode:
authorStefan Bellon <[email protected]>2004-08-27 18:21:32 +0000
committerStefan Bellon <[email protected]>2004-08-27 18:21:32 +0000
commit9355045841441026a1c92bde5087f7af0d35167f (patch)
treeb09d89c4dd12ae012f95ebd8ddb341f88a202500 /keyserver/gpgkeys_hkp.c
parent* encode.c, exec.c, g10.c, sign.c: Some translatable string cleanup. (diff)
downloadgnupg-9355045841441026a1c92bde5087f7af0d35167f.tar.gz
gnupg-9355045841441026a1c92bde5087f7af0d35167f.zip
fix type incompatibility
Diffstat (limited to 'keyserver/gpgkeys_hkp.c')
-rw-r--r--keyserver/gpgkeys_hkp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c
index 8c0a0f079..63e851780 100644
--- a/keyserver/gpgkeys_hkp.c
+++ b/keyserver/gpgkeys_hkp.c
@@ -243,7 +243,7 @@ get_key(char *getkey)
else
{
/* short key id */
-
+
sprintf(search,"0x%.8s",getkey);
}
@@ -428,7 +428,7 @@ write_quoted(IOBUF a, const char *buf, char delim)
LDAP server are close enough in output so the same function can
parse them both. */
-int
+int
parse_hkp_index(IOBUF buffer,char *line)
{
int ret=0;
@@ -549,7 +549,7 @@ parse_hkp_index(IOBUF buffer,char *line)
iobuf_writestr(buffer,"\nuid:");
write_quoted(buffer,uid,':');
}
-
+
iobuf_writestr(buffer,"\n");
ret=1;
@@ -629,7 +629,7 @@ search_key(char *searchkey)
int max=0,len=0,ret=KEYSERVER_INTERNAL_ERROR,rc;
struct http_context hd;
char *search=NULL,*request=NULL;
- unsigned char *skey=searchkey;
+ char *skey=searchkey;
fprintf(output,"SEARCH %s BEGIN\n",searchkey);
@@ -666,7 +666,7 @@ search_key(char *searchkey)
{
fprintf(console,"gpgkeys: corrupt input?\n");
return -1;
- }
+ }
search[len]='\0';