mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent: Return NO_SECKEY instead of ENONET for PKSIGN and others.
* agent/pksign.c (agent_pksign_do): Replace ENONET by NO_SECKEY. * agent/findkey.c (agent_key_from_file): No diagnostic for NO_SECKEY. * agent/pkdecrypt.c (agent_pkdecrypt): Replace checking for ENOENT.
This commit is contained in:
parent
3259862cb4
commit
3981ff15f3
4 changed files with 10 additions and 7 deletions
|
@ -210,8 +210,8 @@ check_hijacking (assuan_context_t ctx)
|
|||
|
||||
init_membuf (&mb, 64);
|
||||
|
||||
/* AGENT_ID is a command implemented by gnome-keyring-daemon. IT
|
||||
does not reatun any data but an OK line with a remark. */
|
||||
/* AGENT_ID is a command implemented by gnome-keyring-daemon. It
|
||||
does not return any data but an OK line with a remark. */
|
||||
if (assuan_transact (ctx, "AGENT_ID",
|
||||
membuf_data_cb, &mb, NULL, NULL, NULL, NULL))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue