aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/gnunet-revocation.c
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2019-04-26 05:56:54 +0200
committerJulius Bünger <buenger@mytum.de>2019-04-26 05:56:54 +0200
commitf5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e (patch)
tree94055d2c049a65b5ab6c61fd3c5867fe49f6f429 /src/revocation/gnunet-revocation.c
parenta097690795f4f814de7cdbc97ef95fb899eeacd3 (diff)
downloadgnunet-f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e.tar.gz
gnunet-f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e.zip
memcmp() -> GNUNET_memcmp(), first take
Diffstat (limited to 'src/revocation/gnunet-revocation.c')
-rw-r--r--src/revocation/gnunet-revocation.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/revocation/gnunet-revocation.c b/src/revocation/gnunet-revocation.c
index 7596cab2d..4b8fa15bb 100644
--- a/src/revocation/gnunet-revocation.c
+++ b/src/revocation/gnunet-revocation.c
@@ -365,9 +365,8 @@ ego_callback (void *cls,
365 rd, 365 rd,
366 sizeof (struct RevocationData))) ) 366 sizeof (struct RevocationData))) )
367 { 367 {
368 if (0 != memcmp (&rd->key, 368 if (0 != GNUNET_memcmp (&rd->key,
369 &key, 369 &key))
370 sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)))
371 { 370 {
372 fprintf (stderr, 371 fprintf (stderr,
373 _("Error: revocation certificate in `%s' is not for `%s'\n"), 372 _("Error: revocation certificate in `%s' is not for `%s'\n"),