mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
agent: A little clean up.
* agent/findkey.c (agent_is_eddsa_key): Remove dead case. -- There is no possibility the call of key_parms_from_sexp returns "eddsa". Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
d1e1c622d5
commit
abc6a3100a
@ -1308,8 +1308,6 @@ agent_is_eddsa_key (gcry_sexp_t s_key)
|
||||
|
||||
if (!strcmp (algoname, "ecc") && is_eddsa (list))
|
||||
result = 1;
|
||||
else if (!strcmp (algoname, "eddsa")) /* backward compatibility. */
|
||||
result = 1;
|
||||
else
|
||||
result = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user