summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/test_crypto.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/util/test_crypto.c b/src/util/test_crypto.c
index 4713b3a3..bba9275a 100644
--- a/src/util/test_crypto.c
+++ b/src/util/test_crypto.c
@@ -60,16 +60,14 @@ test_high_level ()
&coin_pub,
&secret2);
GNUNET_assert (0 ==
- memcmp (&secret,
- &secret2,
- sizeof (secret)));
+ GNUNET_memcmp (&secret,
+ &secret2));
TALER_link_recover_transfer_secret (&trans_pub,
&coin_priv,
&secret2);
GNUNET_assert (0 ==
- memcmp (&secret,
- &secret2,
- sizeof (secret)));
+ GNUNET_memcmp (&secret,
+ &secret2));
TALER_planchet_setup_refresh (&secret,
0,
&fc1);
@@ -77,9 +75,8 @@ test_high_level ()
1,
&fc2);
GNUNET_assert (0 !=
- memcmp (&fc1,
- &fc2,
- sizeof (struct TALER_PlanchetSecretsP)));
+ GNUNET_memcmp (&fc1,
+ &fc2));
return 0;
}