mirror of git://git.gnupg.org/gnupg.git
gpg: Fix wrong error message for keytocard.
* g10/call-agent.c (agent_keytocard): Emit SC_OP_FAILURE. -- GnuPG-bug-id: 6122
This commit is contained in:
parent
4ef8516a79
commit
189102ac17
|
@ -1114,9 +1114,7 @@ agent_keytocard (const char *hexgrip, int keyno, int force,
|
||||||
|
|
||||||
rc = assuan_transact (agent_ctx, line, NULL, NULL, default_inq_cb, &parm,
|
rc = assuan_transact (agent_ctx, line, NULL, NULL, default_inq_cb, &parm,
|
||||||
NULL, NULL);
|
NULL, NULL);
|
||||||
if (rc)
|
status_sc_op_failure (rc);
|
||||||
return rc;
|
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue