fix revocation of unknown key

This commit is contained in:
Christian Grothoff 2021-02-16 00:44:03 +01:00
parent e6c5262c9e
commit 97e404e81a
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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))