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_link.c | |
parent | 532d4ad0dca62055056e5b6093e82daa3541f690 (diff) | |
download | exchange-0995bdd1d05356ed5f97954449f5a5c74a41bdc5.tar.xz |
-get tests to pass
Diffstat (limited to 'src/lib/exchange_api_link.c')
-rw-r--r-- | src/lib/exchange_api_link.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/exchange_api_link.c b/src/lib/exchange_api_link.c index 0b2a1336b..2e3b01a63 100644 --- a/src/lib/exchange_api_link.c +++ b/src/lib/exchange_api_link.c @@ -113,7 +113,7 @@ parse_link_coin (const struct TALER_EXCHANGE_LinkHandle *lh, GNUNET_JSON_spec_end () }; struct TALER_TransferSecretP secret; - struct TALER_PlanchetSecretsP ps; + struct TALER_PlanchetMasterSecretP ps; struct TALER_PlanchetDetail pd; struct TALER_CoinPubHash c_hash; @@ -175,14 +175,15 @@ parse_link_coin (const struct TALER_EXCHANGE_LinkHandle *lh, // really need to change the derivation structure // during refresh to derive the nonces differently // and make /link possible! - GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Link using PS(%u)=%s\n", - (unsigned int) coin_idx, - TALER_B2S (&ps)); + /* FIXME: we cannot get the 'rms' here, and + if the TALER_coin_ev_hash() includes that 'nonce', + we are screwed on/link. */ +#if FIXME_OMIT TALER_cs_refresh_nonce_derive ( &ps, coin_idx, &pd.blinded_planchet.details.cs_blinded_planchet.nonce); +#endif TALER_coin_ev_hash (&pd.blinded_planchet, &pd.denom_pub_hash, &coin_envelope_hash); |