summaryrefslogtreecommitdiffstats
path: root/agent/findkey.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2020-06-19 06:38:19 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2020-06-19 06:38:19 +0200
commitabc6a3100a33122ba3673b578a2b364a6b45d252 (patch)
treef834167e0ea8c832255a7aeab0ed25457d0b0751 /agent/findkey.c
parentagent: Fix regression in 'd' fixup code for shadowed keys. (diff)
downloadgnupg2-abc6a3100a33122ba3673b578a2b364a6b45d252.tar.xz
gnupg2-abc6a3100a33122ba3673b578a2b364a6b45d252.zip
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>
Diffstat (limited to '')
-rw-r--r--agent/findkey.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/agent/findkey.c b/agent/findkey.c
index af42d6ece..53a08b89f 100644
--- a/agent/findkey.c
+++ b/agent/findkey.c
@@ -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;