aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/exchange/taler-exchange-httpd_refresh_reveal.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh_reveal.c b/src/exchange/taler-exchange-httpd_refresh_reveal.c
index 14dd12ad2..bdf59c37b 100644
--- a/src/exchange/taler-exchange-httpd_refresh_reveal.c
+++ b/src/exchange/taler-exchange-httpd_refresh_reveal.c
@@ -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,