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:
parent
006944b856
commit
c3a20c88fb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user