Refactor test_exchangedb_signkeys for GNUNET_memcmp

This commit is contained in:
ng0 2019-04-08 18:58:08 +00:00
parent 1aa9d9fee6
commit 04acf37cb6
No known key found for this signature in database
GPG Key ID: E22F9BBFEE348588

View File

@ -47,9 +47,8 @@ ski_iter (void *cls,
{
const struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP *exp = cls;
if (0 != memcmp (ski,
exp,
sizeof (struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP)))
if (0 != GNUNET_memcmp (ski,
exp))
{
GNUNET_break (0);
return GNUNET_SYSERR;