diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-16 14:39:27 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-16 14:44:32 +0100 |
commit | ec522a445a2a00e9000c937e61940c7ac9c4b79d (patch) | |
tree | 297171853aeccb4e0ce22a7c1b4a25a2df0e2f46 /src/testing | |
parent | 6bfc96f4cefceb5735e3bbccbe8f2e0fa6f51b6d (diff) |
fix #8071
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_api_cmd_batch_withdraw.c | 8 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_refresh.c | 12 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_withdraw.c | 8 |
3 files changed, 14 insertions, 14 deletions
diff --git a/src/testing/testing_api_cmd_batch_withdraw.c b/src/testing/testing_api_cmd_batch_withdraw.c index 98bbb7e26..1b056bdbb 100644 --- a/src/testing/testing_api_cmd_batch_withdraw.c +++ b/src/testing/testing_api_cmd_batch_withdraw.c @@ -215,15 +215,15 @@ reserve_batch_withdraw_cb (void *cls, const struct TALER_EXCHANGE_PrivateCoinDetails *pcd = &wr->details.ok.coins[i]; - TALER_denom_sig_deep_copy (&cs->sig, - &pcd->sig); + TALER_denom_sig_copy (&cs->sig, + &pcd->sig); cs->coin_priv = pcd->coin_priv; GNUNET_CRYPTO_eddsa_key_get_public (&cs->coin_priv.eddsa_priv, &cs->coin_pub.eddsa_pub); cs->bks = pcd->bks; - TALER_denom_ewv_deep_copy (&cs->exchange_vals, - &pcd->exchange_vals); + TALER_denom_ewv_copy (&cs->exchange_vals, + &pcd->exchange_vals); } break; case MHD_HTTP_FORBIDDEN: diff --git a/src/testing/testing_api_cmd_refresh.c b/src/testing/testing_api_cmd_refresh.c index c1555a901..111e9118f 100644 --- a/src/testing/testing_api_cmd_refresh.c +++ b/src/testing/testing_api_cmd_refresh.c @@ -459,8 +459,8 @@ reveal_cb (void *cls, fc->h_age_commitment = coin->h_age_commitment; } - TALER_denom_sig_deep_copy (&fc->sig, - &coin->sig); + TALER_denom_sig_copy (&fc->sig, + &coin->sig); } if (0 != rrs->total_backoff.rel_value_us) { @@ -979,8 +979,8 @@ melt_cb (void *cls, mr->details.ok.num_mbds, struct TALER_EXCHANGE_MeltBlindingDetail); for (unsigned int i = 0; i<mr->details.ok.num_mbds; i++) - TALER_denom_ewv_deep_copy (&rms->mbds[i].alg_value, - &mr->details.ok.mbds[i].alg_value); + TALER_denom_ewv_copy (&rms->mbds[i].alg_value, + &mr->details.ok.mbds[i].alg_value); } if (0 != rms->total_backoff.rel_value_us) { @@ -1153,8 +1153,8 @@ melt_run (void *cls, &fresh_pk->fees.withdraw)); rms->fresh_pks[i] = *fresh_pk; /* Make a deep copy of the RSA key */ - TALER_denom_pub_deep_copy (&rms->fresh_pks[i].key, - &fresh_pk->key); + TALER_denom_pub_copy (&rms->fresh_pks[i].key, + &fresh_pk->key); } /* end for */ rms->refresh_data.melt_priv = *rms->melt_priv; diff --git a/src/testing/testing_api_cmd_withdraw.c b/src/testing/testing_api_cmd_withdraw.c index a98e69521..f8ff0205b 100644 --- a/src/testing/testing_api_cmd_withdraw.c +++ b/src/testing/testing_api_cmd_withdraw.c @@ -293,12 +293,12 @@ reserve_withdraw_cb (void *cls, { case MHD_HTTP_OK: GNUNET_assert (1 == wr->details.ok.num_coins); - TALER_denom_sig_deep_copy (&ws->sig, - &wr->details.ok.coins[0].sig); + TALER_denom_sig_copy (&ws->sig, + &wr->details.ok.coins[0].sig); ws->coin_priv = wr->details.ok.coins[0].coin_priv; ws->bks = wr->details.ok.coins[0].bks; - TALER_denom_ewv_deep_copy (&ws->exchange_vals, - &wr->details.ok.coins[0].exchange_vals); + TALER_denom_ewv_copy (&ws->exchange_vals, + &wr->details.ok.coins[0].exchange_vals); if (0 != ws->total_backoff.rel_value_us) { GNUNET_log (GNUNET_ERROR_TYPE_INFO, |