diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-20 02:43:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-20 02:43:48 +0100 |
commit | aaa57167db98c607add2cdbd516e4d3cc89e7c07 (patch) | |
tree | f8b0e08d3a1806bd29185f4efdf481e824f5af9e /src/exchange/taler-exchange-httpd_refresh_reveal.c | |
parent | f4b17c3adaa4dad7d12ef5218ed75b8e7a5210f4 (diff) | |
download | exchange-aaa57167db98c607add2cdbd516e4d3cc89e7c07.tar.gz exchange-aaa57167db98c607add2cdbd516e4d3cc89e7c07.tar.bz2 exchange-aaa57167db98c607add2cdbd516e4d3cc89e7c07.zip |
add exchange key during test
Diffstat (limited to 'src/exchange/taler-exchange-httpd_refresh_reveal.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_refresh_reveal.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/exchange/taler-exchange-httpd_refresh_reveal.c b/src/exchange/taler-exchange-httpd_refresh_reveal.c index 2503b5a4f..3619f9a39 100644 --- a/src/exchange/taler-exchange-httpd_refresh_reveal.c +++ b/src/exchange/taler-exchange-httpd_refresh_reveal.c @@ -203,13 +203,14 @@ check_exists_cb (void *cls, return; } GNUNET_break (TALER_CNC_KAPPA - 1 == num_tprivs); - GNUNET_break_op (0 == memcmp (tp, - &rctx->gamma_tp, - sizeof (struct TALER_TransferPublicKeyP))); - GNUNET_break_op (0 == memcmp (tprivs, - &rctx->transfer_privs, - sizeof (struct TALER_TransferPrivateKeyP) - * num_tprivs)); + GNUNET_break_op (0 == + GNUNET_memcmp (tp, + &rctx->gamma_tp)); + GNUNET_break_op (0 == + memcmp (tprivs, + &rctx->transfer_privs, + sizeof (struct TALER_TransferPrivateKeyP) + * num_tprivs)); /* We usually sign early (optimistic!), but in case we change that *and* we do find the operation in the database, we could use this: */ if (NULL == rctx->ev_sigs) |