aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-04-10 20:49:27 +0000
committerng0 <ng0@n0.is>2019-04-10 20:49:27 +0000
commit2699155b81f8db564e27610896eb2af0c3e88c6d (patch)
tree0b79b7515c1dc7425e8f54d22707c67a932e724b
parentf54d6294b91da3a3181ec1360a3f4be5e3e5cf20 (diff)
Refactor test_exchangedb_denomkeys for GNUNET_memcmp
-rw-r--r--src/exchangedb/test_exchangedb_denomkeys.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchangedb/test_exchangedb_denomkeys.c b/src/exchangedb/test_exchangedb_denomkeys.c
index 1b63f2342..a8e7af04d 100644
--- 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;