Refactor test_exchangedb_denomkeys for GNUNET_memcmp

This commit is contained in:
ng0 2019-04-10 20:49:27 +00:00
parent f54d6294b9
commit 2699155b81
No known key found for this signature in database
GPG Key ID: E22F9BBFEE348588

View File

@ -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;