diff options
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index c6e9b86a0..14d8055c4 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -278,9 +278,8 @@ create_denom_key_pair (unsigned int size, destroy_denom_key_pair (dkp); return NULL; } - if (0 != memcmp (&dki.issue, - &issue2, - sizeof (issue2))) + if (0 != GNUNET_memcmp (&dki.issue, + &issue2)) { GNUNET_break(0); destroy_denom_key_pair (dkp); @@ -428,9 +427,8 @@ check_refresh_reveal_cb (void *cls, GNUNET_assert (acoin->coin_ev_size == bcoin->coin_ev_size); GNUNET_assert (0 == - memcmp (acoin->coin_ev, - bcoin->coin_ev, - acoin->coin_ev_size)); + GNUNET_memcmp (acoin->coin_ev, + bcoin->coin_ev)); GNUNET_assert (0 == GNUNET_CRYPTO_rsa_public_key_cmp (acoin->denom_pub.rsa_public_key, bcoin->denom_pub.rsa_public_key)); |