mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-10 21:38:50 +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))
|
if (!strcmp (algoname, "ecc") && is_eddsa (list))
|
||||||
result = 1;
|
result = 1;
|
||||||
else if (!strcmp (algoname, "eddsa")) /* backward compatibility. */
|
|
||||||
result = 1;
|
|
||||||
else
|
else
|
||||||
result = 0;
|
result = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user