summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-08-18 15:42:54 +0200
committerWerner Koch <wk@gnupg.org>2014-08-18 15:42:54 +0200
commit3981ff15f3c0829ba22cd37794353502d996683c (patch)
treeff65c51b73688a205dd26e62123524dbaf27aeb3 /g10
parenttests: Re-enable OpenPGP ecc test. (diff)
downloadgnupg2-3981ff15f3c0829ba22cd37794353502d996683c.tar.xz
gnupg2-3981ff15f3c0829ba22cd37794353502d996683c.zip
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.
Diffstat (limited to 'g10')
-rw-r--r--g10/call-agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c
index cf1b96af2..58f4a92c5 100644
--- a/g10/call-agent.c
+++ b/g10/call-agent.c
@@ -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))
{