diff options
| author | Werner Koch <[email protected]> | 2014-08-18 13:42:54 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2014-08-18 13:42:54 +0000 |
| commit | 3981ff15f3c0829ba22cd37794353502d996683c (patch) | |
| tree | ff65c51b73688a205dd26e62123524dbaf27aeb3 /g10/call-agent.c | |
| parent | tests: Re-enable OpenPGP ecc test. (diff) | |
| download | gnupg-3981ff15f3c0829ba22cd37794353502d996683c.tar.gz gnupg-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/call-agent.c')
| -rw-r--r-- | g10/call-agent.c | 4 |
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)) { |
