summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_refreshes_reveal.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-06-26 17:40:10 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2022-06-26 17:40:10 +0200
commita55fc45126b13de56a76a44f629a73b1eb003408 (patch)
treee5578ad70737167ea3194d808199f949d256582d /src/exchange/taler-exchange-httpd_refreshes_reveal.c
parent9865febb17718a95f6444591ecdc5b09259a556c (diff)
downloadexchange-a55fc45126b13de56a76a44f629a73b1eb003408.tar.gz
exchange-a55fc45126b13de56a76a44f629a73b1eb003408.tar.bz2
exchange-a55fc45126b13de56a76a44f629a73b1eb003408.zip
-fix valgrind complaints
Diffstat (limited to 'src/exchange/taler-exchange-httpd_refreshes_reveal.c')
-rw-r--r--src/exchange/taler-exchange-httpd_refreshes_reveal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_refreshes_reveal.c b/src/exchange/taler-exchange-httpd_refreshes_reveal.c
index 3b75576ce..a0fd83bfa 100644
--- a/src/exchange/taler-exchange-httpd_refreshes_reveal.c
+++ b/src/exchange/taler-exchange-httpd_refreshes_reveal.c
@@ -259,6 +259,8 @@ check_commitment (struct RevealContext *rctx,
const struct TALER_TransferPrivateKeyP *tpriv
= &rctx->transfer_privs[i - off];
struct TALER_TransferSecretP ts;
+ struct TALER_AgeCommitmentHash h = {0};
+ struct TALER_AgeCommitmentHash *hac = NULL;
GNUNET_CRYPTO_ecdhe_key_get_public (&tpriv->ecdhe_priv,
&rce->transfer_pub.ecdhe_pub);
@@ -279,7 +281,6 @@ check_commitment (struct RevealContext *rctx,
const struct TALER_ExchangeWithdrawValues *alg_value
= &rctx->rrcs[j].exchange_vals;
struct TALER_PlanchetDetail pd = {0};
- struct TALER_AgeCommitmentHash *hac = NULL;
struct TALER_CoinPubHashP c_hash;
struct TALER_PlanchetMasterSecretP ps;
@@ -303,7 +304,6 @@ check_commitment (struct RevealContext *rctx,
.commitment = *(rctx->old_age_commitment)
};
struct TALER_AgeCommitmentProof nacp = {0};
- struct TALER_AgeCommitmentHash h = {0};
GNUNET_assert (GNUNET_OK ==
TALER_age_commitment_derive (