1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00

change back skey to unsigned and cast instead

This commit is contained in:
Stefan Bellon 2004-08-27 21:16:16 +00:00
parent 9355045841
commit 159352d8b7
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
2004-08-27 Stefan Bellon <sbellon@roma>
2004-08-27 Stefan Bellon <sbellon@sbellon.de>
* gpgkeys_hkp.c (search_key): Fix the prior faulty fix by
introducing a cast but leaving skey unsigned.
* gpgkeys_hkp.c (search_key): Change type of variable skey from
unsigned char* to char* to fix type incompatibility.

View File

@ -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;
char *skey=searchkey;
unsigned char *skey=(unsigned char*) searchkey;
fprintf(output,"SEARCH %s BEGIN\n",searchkey);