Refactor testing_api_cmd_payback for GNUNET_memcmp

This commit is contained in:
ng0 2019-04-10 20:48:04 +00:00
parent 074b011d01
commit 7bebb3c780
No known key found for this signature in database
GPG Key ID: E22F9BBFEE348588

View File

@ -188,8 +188,7 @@ payback_cb (void *cls,
TALER_TESTING_interpreter_fail (is);
return;
}
if (0 != memcmp (reserve_pub, &rp,
sizeof (struct TALER_ReservePublicKeyP)))
if (0 != GNUNET_memcmp (reserve_pub, &rp))
{
GNUNET_break (0);
TALER_TESTING_interpreter_fail (is);