summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-07 12:33:35 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-07 12:33:35 +0100
commitfb9ba5b1d2970e24643d179338b34c8915d2072d (patch)
treede1ad14127b9e213fcbf88c62097783583a1acb5 /src/exchange
parent0d03f55282f5954050a66a38209a3a9aed33f884 (diff)
downloadexchange-fb9ba5b1d2970e24643d179338b34c8915d2072d.tar.gz
exchange-fb9ba5b1d2970e24643d179338b34c8915d2072d.tar.bz2
exchange-fb9ba5b1d2970e24643d179338b34c8915d2072d.zip
-rename fest
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_csr.c6
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c2
-rw-r--r--src/exchange/taler-exchange-httpd_keys.h2
-rw-r--r--src/exchange/taler-exchange-httpd_refreshes_reveal.c6
4 files changed, 8 insertions, 8 deletions
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,