mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
scd: KEYINFO: Send LF for --data.
* scd/command.c (send_keyinfo): Send LF for --data. -- Fixes-commit: 01730529f20882cd98882a61408e9bee960c86f1 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
e900bf2973
commit
c3dd53a65d
@ -1885,9 +1885,11 @@ send_keyinfo (ctrl_t ctrl, int data, const char *keygrip_str,
|
|||||||
char *string;
|
char *string;
|
||||||
assuan_context_t ctx = ctrl->server_local->assuan_ctx;
|
assuan_context_t ctx = ctrl->server_local->assuan_ctx;
|
||||||
|
|
||||||
string = xtryasprintf ("%s T %s %s", keygrip_str,
|
string = xtryasprintf ("%s T %s %s%s", keygrip_str,
|
||||||
serialno? serialno : "-",
|
serialno? serialno : "-",
|
||||||
idstr? idstr : "-");
|
idstr? idstr : "-",
|
||||||
|
data? "\n" : "");
|
||||||
|
|
||||||
if (!string)
|
if (!string)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user