mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
agent: Fix error handling of READKEY.
* agent/command.c (cmd_readkey): Jump to leave on reading error.
--
Fixes-commit: d7a3c455c5
This commit is contained in:
parent
53c6b1e858
commit
68d9bc9c35
1 changed files with 3 additions and 1 deletions
|
@ -1458,7 +1458,9 @@ cmd_readkey (assuan_context_t ctx, char *line)
|
||||||
goto leave;
|
goto leave;
|
||||||
|
|
||||||
rc = agent_public_key_from_file (ctrl, grip, &s_pkey);
|
rc = agent_public_key_from_file (ctrl, grip, &s_pkey);
|
||||||
if (!rc)
|
if (rc)
|
||||||
|
goto leave;
|
||||||
|
else
|
||||||
{
|
{
|
||||||
if (opt_format_ssh)
|
if (opt_format_ssh)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue