From a77ed0f266d03e234027dda4de5a7f3dd6787b1e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sat, 22 Mar 2014 20:51:16 +0100 Subject: 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. --- agent/command-ssh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'agent/command-ssh.c') diff --git a/agent/command-ssh.c b/agent/command-ssh.c index 4191d6f0c..fb3b29a7f 100644 --- a/agent/command-ssh.c +++ b/agent/command-ssh.c @@ -2515,7 +2515,8 @@ data_sign (ctrl_t ctrl, ssh_key_type_spec_t *spec, _("Please enter the passphrase " "for the ssh key%%0A %F%%0A (%c)"), &signature_sexp, - CACHE_MODE_SSH, ttl_from_sshcontrol); + CACHE_MODE_SSH, ttl_from_sshcontrol, + NULL, 0); ctrl->use_auth_call = 0; if (err) goto out; -- cgit v1.2.3