Refactor test_exchangedb_denomkeys.c for GNUNET_memcmp

This commit is contained in:
ng0 2019-04-08 20:42:05 +00:00
parent 04acf37cb6
commit 5ec20870a4
No known key found for this signature in database
GPG Key ID: E22F9BBFEE348588

View File

@ -49,9 +49,8 @@ dki_iter (void *cls,
{
const struct TALER_EXCHANGEDB_DenominationKeyIssueInformation *exp = cls;
if (0 != memcmp (&exp->issue,
&dki->issue,
sizeof (struct TALER_EXCHANGEDB_DenominationKeyInformationP)))
if (0 != GNUNET_memcmp (&exp->issue,
&dki->issue))
{
GNUNET_break (0);
return GNUNET_SYSERR;