agent: Return NO_SECKEY instead of ENONET for PKSIGN and others.
authorWerner Koch <wk@gnupg.org>
Mon, 18 Aug 2014 13:42:54 +0000 (15:42 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 18 Aug 2014 13:42:54 +0000 (15:42 +0200)
commit3981ff15f3c0829ba22cd37794353502d996683c
treeff65c51b73688a205dd26e62123524dbaf27aeb3
parent3259862cb4a7202e858f7bfd7a4b1796b38efff7
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.
agent/findkey.c
agent/pkdecrypt.c
agent/pksign.c
g10/call-agent.c