1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

scd: Fix an error return for READKEY.

* scd/command.c (cmd_readkey): Return when error.

--

GnuPG-bug-id: 5150
Suggested-by: Ingo Klöcker
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2020-11-25 11:38:15 +09:00
parent 006944b856
commit c3a20c88fb

View File

@ -736,6 +736,9 @@ cmd_readkey (assuan_context_t ctx, char *line)
else
rc = gpg_error (GPG_ERR_NO_SECKEY);
if (rc)
goto leave;
if (opt_nokey)
;
else if (advanced)