diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-11 09:36:01 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-11 09:36:01 +0100 |
commit | 0995bdd1d05356ed5f97954449f5a5c74a41bdc5 (patch) | |
tree | 6feb57a46708ea95e0b1921d9ffa3e8210ae1f13 /src/lib/exchange_api_melt.c | |
parent | 532d4ad0dca62055056e5b6093e82daa3541f690 (diff) | |
download | exchange-0995bdd1d05356ed5f97954449f5a5c74a41bdc5.tar.xz |
-get tests to pass
Diffstat (limited to 'src/lib/exchange_api_melt.c')
-rw-r--r-- | src/lib/exchange_api_melt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/exchange_api_melt.c b/src/lib/exchange_api_melt.c index 4d585c85f..eec2d0a53 100644 --- a/src/lib/exchange_api_melt.c +++ b/src/lib/exchange_api_melt.c @@ -78,7 +78,7 @@ struct TALER_EXCHANGE_MeltHandle /** * The secret the entire melt operation is seeded from. */ - const struct TALER_PlanchetSecretsP *ps; + const struct TALER_RefreshMasterSecretP *rms; /** * Details about the characteristics of the requested melt operation. @@ -490,7 +490,7 @@ start_melt (struct TALER_EXCHANGE_MeltHandle *mh) struct TALER_DenominationHash h_denom_pub; if (GNUNET_OK != - TALER_EXCHANGE_get_melt_data_ (mh->ps, + TALER_EXCHANGE_get_melt_data_ (mh->rms, mh->rd, mh->alg_values, &mh->md)) @@ -637,7 +637,7 @@ csr_cb (void *cls, struct TALER_EXCHANGE_MeltHandle * TALER_EXCHANGE_melt (struct TALER_EXCHANGE_Handle *exchange, - const struct TALER_PlanchetSecretsP *ps, + const struct TALER_RefreshMasterSecretP *rms, const struct TALER_EXCHANGE_RefreshData *rd, TALER_EXCHANGE_MeltCallback melt_cb, void *melt_cb_cls) @@ -657,7 +657,7 @@ TALER_EXCHANGE_melt (struct TALER_EXCHANGE_Handle *exchange, mh->noreveal_index = TALER_CNC_KAPPA; /* invalid value */ mh->exchange = exchange; mh->rd = rd; - mh->ps = ps; + mh->rms = rms; /* FIXME: deep copy might be safer... */ mh->melt_cb = melt_cb; mh->melt_cb_cls = melt_cb_cls; mh->alg_values = GNUNET_new_array (rd->fresh_pks_len, @@ -683,7 +683,7 @@ TALER_EXCHANGE_melt (struct TALER_EXCHANGE_Handle *exchange, case TALER_DENOMINATION_CS: wv->cipher = TALER_DENOMINATION_CS; nks[nks_off].pk = fresh_pk; - TALER_cs_refresh_nonce_derive (ps, + TALER_cs_refresh_nonce_derive (rms, i, &nks[nks_off].nonce); nks_off++; |