mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
change back skey to unsigned and cast instead
This commit is contained in:
parent
9355045841
commit
159352d8b7
2 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue