summaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb_auditors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchangedb/test_exchangedb_auditors.c')
-rw-r--r--src/exchangedb/test_exchangedb_auditors.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/exchangedb/test_exchangedb_auditors.c b/src/exchangedb/test_exchangedb_auditors.c
index bc5d378f9..9424919c4 100644
--- a/src/exchangedb/test_exchangedb_auditors.c
+++ b/src/exchangedb/test_exchangedb_auditors.c
@@ -78,30 +78,26 @@ auditor_cb (void *cls,
GNUNET_break (0);
return GNUNET_SYSERR;
}
- if (0 != memcmp (&want_apub,
- apub,
- sizeof (struct TALER_AuditorPublicKeyP)))
+ if (0 != GNUNET_memcmp (&want_apub,
+ apub))
{
GNUNET_break (0);
return GNUNET_SYSERR;
}
- if (0 != memcmp (&want_mpub,
- mpub,
- sizeof (struct TALER_MasterPublicKeyP)))
+ if (0 != GNUNET_memcmp (&want_mpub,
+ mpub))
{
GNUNET_break (0);
return GNUNET_SYSERR;
}
- if (0 != memcmp (&want_asigs,
- asigs,
- sizeof (struct TALER_AuditorSignatureP)))
+ if (0 != GNUNET_memcmp (&want_asigs,
+ asigs))
{
GNUNET_break (0);
return GNUNET_SYSERR;
}
- if (0 != memcmp (&want_dki,
- dki,
- sizeof (struct TALER_DenominationKeyValidityPS)))
+ if (0 != GNUNET_memcmp (&want_dki,
+ dki))
{
GNUNET_break (0);
return GNUNET_SYSERR;