mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keydb.c (keydb_add_resource): Create keybox
* keylist.c (gpgsm_list_keys): Fixed non-server keylisting. * server.c (rc_to_assuan_status): New. Use it for all commands.
This commit is contained in:
parent
ce8a236195
commit
99829ef5fb
7 changed files with 251 additions and 153 deletions
|
@ -470,16 +470,16 @@ request_reply (const char *line, struct membuf *membuf)
|
|||
for (;len && *p != '%'; len--, p++)
|
||||
;
|
||||
put_membuf (membuf, buf, p-buf);
|
||||
buf = p;
|
||||
if (len>2)
|
||||
{ /* handle escaping */
|
||||
unsigned char tmp[1];
|
||||
buf++;
|
||||
*tmp = xtoi_2 (buf);
|
||||
buf += 2;
|
||||
p++;
|
||||
*tmp = xtoi_2 (p);
|
||||
p += 2;
|
||||
len -= 3;
|
||||
put_membuf (membuf, tmp, 1);
|
||||
}
|
||||
buf = p;
|
||||
}
|
||||
goto again;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue