summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-02-16 00:44:03 +0100
committerChristian Grothoff <christian@grothoff.org>2021-02-16 00:44:03 +0100
commit97e404e81a815f71550228e991a2c173f9d86cab (patch)
treefd7397f19bb5c7c658ff07ebd977f39bdd902b56
parente6c5262c9ec9c6a930bff99f66eaa8f6cf509f08 (diff)
downloadexchange-97e404e81a815f71550228e991a2c173f9d86cab.tar.gz
exchange-97e404e81a815f71550228e991a2c173f9d86cab.tar.bz2
exchange-97e404e81a815f71550228e991a2c173f9d86cab.zip
fix revocation of unknown key
-rw-r--r--src/util/taler-exchange-secmod-eddsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/taler-exchange-secmod-eddsa.c b/src/util/taler-exchange-secmod-eddsa.c
index 1c217e0b..ffd7b523 100644
--- a/src/util/taler-exchange-secmod-eddsa.c
+++ b/src/util/taler-exchange-secmod-eddsa.c
@@ -803,7 +803,7 @@ handle_revoke_request (const struct sockaddr_un *addr,
struct Key *key;
struct Key *nkey;
- nkey = NULL;
+ key = NULL;
for (struct Key *pos = keys_head; NULL != pos; pos = pos->next)
if (0 == GNUNET_memcmp (&pos->exchange_pub,
&rr->exchange_pub))