From fb9ba5b1d2970e24643d179338b34c8915d2072d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 7 Feb 2022 12:33:35 +0100 Subject: -rename fest --- src/exchange/taler-exchange-httpd_csr.c | 6 +++--- src/exchange/taler-exchange-httpd_keys.c | 2 +- src/exchange/taler-exchange-httpd_keys.h | 2 +- src/exchange/taler-exchange-httpd_refreshes_reveal.c | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/exchange') diff --git a/src/exchange/taler-exchange-httpd_csr.c b/src/exchange/taler-exchange-httpd_csr.c index af621682a..31a7614f9 100644 --- a/src/exchange/taler-exchange-httpd_csr.c +++ b/src/exchange/taler-exchange-httpd_csr.c @@ -98,12 +98,12 @@ TEH_handler_csr (struct TEH_RequestContext *rc, return (GNUNET_NO == res) ? MHD_YES : MHD_NO; } - struct TALER_DenominationCsPublicR r_pubs[GNUNET_NZL (csr_requests_num)]; + struct TALER_DenominationCSPublicRPairP r_pubs[GNUNET_NZL (csr_requests_num)]; for (unsigned int i = 0; i < csr_requests_num; i++) { const struct TALER_CsNonce *nonce = &nonces[i]; const struct TALER_DenominationHash *denom_pub_hash = &denom_pub_hashes[i]; - struct TALER_DenominationCsPublicR *r_pub = &r_pubs[i]; + struct TALER_DenominationCSPublicRPairP *r_pub = &r_pubs[i]; // check denomination referenced by denom_pub_hash { @@ -182,7 +182,7 @@ TEH_handler_csr (struct TEH_RequestContext *rc, csr_response = json_array (); for (unsigned int i = 0; i < csr_requests_num; i++) { - const struct TALER_DenominationCsPublicR *r_pub = &r_pubs[i]; + const struct TALER_DenominationCSPublicRPairP *r_pub = &r_pubs[i]; json_t *csr_obj; csr_obj = GNUNET_JSON_PACK ( diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index 2e1d71824..d9c641049 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -2461,7 +2461,7 @@ enum TALER_ErrorCode TEH_keys_denomination_cs_r_pub (const struct TALER_DenominationHash *h_denom_pub, const struct TALER_CsNonce *nonce, - struct TALER_DenominationCsPublicR *r_pub) + struct TALER_DenominationCSPublicRPairP *r_pub) { struct TEH_KeyStateHandle *ksh; struct HelperDenomination *hd; diff --git a/src/exchange/taler-exchange-httpd_keys.h b/src/exchange/taler-exchange-httpd_keys.h index 57011ed22..0cab75070 100644 --- a/src/exchange/taler-exchange-httpd_keys.h +++ b/src/exchange/taler-exchange-httpd_keys.h @@ -233,7 +233,7 @@ enum TALER_ErrorCode TEH_keys_denomination_cs_r_pub (const struct TALER_DenominationHash *h_denom_pub, const struct TALER_CsNonce *nonce, - struct TALER_DenominationCsPublicR *r_pub); + struct TALER_DenominationCSPublicRPairP *r_pub); /** diff --git a/src/exchange/taler-exchange-httpd_refreshes_reveal.c b/src/exchange/taler-exchange-httpd_refreshes_reveal.c index 156993ffe..451413b70 100644 --- a/src/exchange/taler-exchange-httpd_refreshes_reveal.c +++ b/src/exchange/taler-exchange-httpd_refreshes_reveal.c @@ -182,9 +182,9 @@ check_commitment (struct RevealContext *rctx, struct TALER_PlanchetSecretsP ps; rcd->dk = &rctx->dks[j]->denom_pub; - TALER_planchet_setup_refresh (&ts, - j, - &ps); + TALER_transfer_secret_to_planchet_secret (&ts, + j, + &ps); // TODO: implement cipher handling alg_values.cipher = TALER_DENOMINATION_RSA; TALER_planchet_setup_coin_priv (&ps, -- cgit v1.2.3