From f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Fri, 26 Apr 2019 05:56:54 +0200 Subject: memcmp() -> GNUNET_memcmp(), first take --- src/revocation/gnunet-revocation.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/revocation/gnunet-revocation.c') 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, rd, sizeof (struct RevocationData))) ) { - if (0 != memcmp (&rd->key, - &key, - sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey))) + if (0 != GNUNET_memcmp (&rd->key, + &key)) { fprintf (stderr, _("Error: revocation certificate in `%s' is not for `%s'\n"), -- cgit v1.2.3