Refactor for GNUNET_memcmp

This commit is contained in:
ng0 2019-04-17 19:25:43 +00:00
parent ee9cff3555
commit 1fdec6b1bf
No known key found for this signature in database
GPG Key ID: E22F9BBFEE348588

View File

@ -399,9 +399,8 @@ refresh_reveal_transaction (void *cls,
}
/* Verify rc_expected matches rc */
if (0 != memcmp (&rctx->rc,
&rc_expected,
sizeof (struct TALER_RefreshCommitmentP)))
if (0 != GNUNET_memcmp (&rctx->rc,
&rc_expected))
{
GNUNET_break_op (0);
*mhd_ret = reply_refresh_reveal_missmatch (connection,