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:
parent
9355045841
commit
159352d8b7
@ -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.
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user