diff options
author | Gian Demarmels <gian@demarmels.org> | 2022-01-17 09:37:36 +0100 |
---|---|---|
committer | Gian Demarmels <gian@demarmels.org> | 2022-02-04 15:37:33 +0100 |
commit | be50c084f89e8588dd2d4a4aa30c58002053ee31 (patch) | |
tree | e6651b08f663446f21c59b9428e57ca46b7b4bab /src/exchange | |
parent | ae5f082c75eb140167dc0254894dd4d57ba62a6d (diff) | |
download | exchange-be50c084f89e8588dd2d4a4aa30c58002053ee31.tar.gz exchange-be50c084f89e8588dd2d4a4aa30c58002053ee31.tar.bz2 exchange-be50c084f89e8588dd2d4a4aa30c58002053ee31.zip |
fixed nonce check, renamed WithdrawNonce
Diffstat (limited to 'src/exchange')
-rw-r--r-- | src/exchange/taler-exchange-httpd_csr.c | 4 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.c | 2 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_csr.c b/src/exchange/taler-exchange-httpd_csr.c index e1c9037df..dfe4d4d07 100644 --- a/src/exchange/taler-exchange-httpd_csr.c +++ b/src/exchange/taler-exchange-httpd_csr.c @@ -37,13 +37,13 @@ TEH_handler_csr (struct TEH_RequestContext *rc, const json_t *root, const char *const args[]) { - struct TALER_WithdrawNonce nonce; + struct TALER_CsNonce nonce; struct TALER_DenominationHash denom_pub_hash; struct TALER_DenominationCsPublicR r_pub; struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_fixed ("nonce", &nonce, - sizeof (struct TALER_WithdrawNonce)), + sizeof (struct TALER_CsNonce)), GNUNET_JSON_spec_fixed ("denom_pub_hash", &denom_pub_hash, sizeof (struct TALER_DenominationHash)), diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index 39c5b760f..2e1d71824 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -2460,7 +2460,7 @@ TEH_keys_denomination_sign (const struct TALER_DenominationHash *h_denom_pub, enum TALER_ErrorCode TEH_keys_denomination_cs_r_pub (const struct TALER_DenominationHash *h_denom_pub, - const struct TALER_WithdrawNonce *nonce, + const struct TALER_CsNonce *nonce, struct TALER_DenominationCsPublicR *r_pub) { struct TEH_KeyStateHandle *ksh; diff --git a/src/exchange/taler-exchange-httpd_keys.h b/src/exchange/taler-exchange-httpd_keys.h index 2cc7d7d7c..57011ed22 100644 --- a/src/exchange/taler-exchange-httpd_keys.h +++ b/src/exchange/taler-exchange-httpd_keys.h @@ -232,7 +232,7 @@ TEH_keys_denomination_sign (const struct TALER_DenominationHash *h_denom_pub, enum TALER_ErrorCode TEH_keys_denomination_cs_r_pub (const struct TALER_DenominationHash *h_denom_pub, - const struct TALER_WithdrawNonce *nonce, + const struct TALER_CsNonce *nonce, struct TALER_DenominationCsPublicR *r_pub); |