diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-20 21:51:41 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-20 21:51:46 +0100 |
commit | 19624fd776f28812354f7e2b50b26e984ff077ab (patch) | |
tree | 625d0019650cb88d42bbf7f5ac0c1ef51fabac70 /src/exchange/taler-exchange-httpd_csr.c | |
parent | dbc5adba7f22fb9568be29479ac9cf19463d471f (diff) |
-ensure different HKDF is used in melt vs. withdraw
Diffstat (limited to 'src/exchange/taler-exchange-httpd_csr.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_csr.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-httpd_csr.c b/src/exchange/taler-exchange-httpd_csr.c index 42383597..94b55c70 100644 --- a/src/exchange/taler-exchange-httpd_csr.c +++ b/src/exchange/taler-exchange-httpd_csr.c @@ -179,9 +179,9 @@ TEH_handler_csr_melt (struct TEH_RequestContext *rc, /* derive r_pub */ // FIXME: bundle all requests into one derivation request (TEH_keys_..., crypto helper, security module) - ec = TEH_keys_denomination_cs_r_pub (denom_pub_hash, - nonce, - r_pub); + ec = TEH_keys_denomination_cs_r_pub_melt (denom_pub_hash, + nonce, + r_pub); if (TALER_EC_NONE != ec) { GNUNET_break (0); @@ -316,9 +316,9 @@ TEH_handler_csr_withdraw (struct TEH_RequestContext *rc, { enum TALER_ErrorCode ec; - ec = TEH_keys_denomination_cs_r_pub (&denom_pub_hash, - &nonce, - &ewv.details.cs_values); + ec = TEH_keys_denomination_cs_r_pub_withdraw (&denom_pub_hash, + &nonce, + &ewv.details.cs_values); if (TALER_EC_NONE != ec) { GNUNET_break (0); |