fix revocation of unknown key
This commit is contained in:
parent
e6c5262c9e
commit
97e404e81a
@ -803,7 +803,7 @@ handle_revoke_request (const struct sockaddr_un *addr,
|
|||||||
struct Key *key;
|
struct Key *key;
|
||||||
struct Key *nkey;
|
struct Key *nkey;
|
||||||
|
|
||||||
nkey = NULL;
|
key = NULL;
|
||||||
for (struct Key *pos = keys_head; NULL != pos; pos = pos->next)
|
for (struct Key *pos = keys_head; NULL != pos; pos = pos->next)
|
||||||
if (0 == GNUNET_memcmp (&pos->exchange_pub,
|
if (0 == GNUNET_memcmp (&pos->exchange_pub,
|
||||||
&rr->exchange_pub))
|
&rr->exchange_pub))
|
||||||
|
Loading…
Reference in New Issue
Block a user