diff options
author | Werner Koch <[email protected]> | 2014-03-22 19:51:16 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-03-22 19:52:03 +0000 |
commit | a77ed0f266d03e234027dda4de5a7f3dd6787b1e (patch) | |
tree | 78dcefaf7f6b6547d7cd747a90373b240d697585 /agent/command.c | |
parent | tools: Fix NULL deref in gpg-connect-agent. (diff) | |
download | gnupg-a77ed0f266d03e234027dda4de5a7f3dd6787b1e.tar.gz gnupg-a77ed0f266d03e234027dda4de5a7f3dd6787b1e.zip |
agent: Cleanups to prepare implementation of Ed25519.
* agent/cvt-openpgp.c: Remove.
(convert_to_openpgp): Use gcry_sexp_extract_param.
* agent/findkey.c (is_eddsa): New.
(agent_is_dsa_key, agent_is_eddsa_key): Check whether ecc means EdDSA.
* agent/pksign.c (agent_pksign_do): Add args OVERRIDEDATA and
OVERRIDEDATALEN.
* common/ssh-utils.c (is_eddsa): New.
(get_fingerprint): Take care or EdDSA.
Diffstat (limited to 'agent/command.c')
-rw-r--r-- | agent/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/command.c b/agent/command.c index d1e53cd44..fab27f09d 100644 --- a/agent/command.c +++ b/agent/command.c @@ -2147,7 +2147,7 @@ cmd_export_key (assuan_context_t ctx, char *line) if (!ctrl->server_local->export_key) { - err = gpg_error (GPG_ERR_MISSING_KEY); + err = set_error (GPG_ERR_MISSING_KEY, "did you run KEYWRAP_KEY"); goto leave; } |