commit 2699155b81f8db564e27610896eb2af0c3e88c6d parent f54d6294b91da3a3181ec1360a3f4be5e3e5cf20 Author: ng0 <ng0@n0.is> Date: Wed, 10 Apr 2019 20:49:27 +0000 Refactor test_exchangedb_denomkeys for GNUNET_memcmp Diffstat:
| M | src/exchangedb/test_exchangedb_denomkeys.c | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/exchangedb/test_exchangedb_denomkeys.c b/src/exchangedb/test_exchangedb_denomkeys.c @@ -95,9 +95,8 @@ dki_iter_revoked (void *cls, GNUNET_break (0); return GNUNET_SYSERR; } - if (0 != memcmp (denom_hash, - &exp->issue.properties.denom_hash, - sizeof (struct GNUNET_HashCode))) + if (0 != GNUNET_memcmp (denom_hash, + &exp->issue.properties.denom_hash)) { GNUNET_break (0); return GNUNET_SYSERR;