-cleanup signatures
This commit is contained in:
parent
153a078ca5
commit
e68d9f9b75
@ -635,7 +635,7 @@ verify_commitment_and_max_age (
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* FIXME:oec: Refactor this block out into its own function */
|
/* FIXME[oec] Refactor this block out into its own function */
|
||||||
|
|
||||||
size_t j = (TALER_CNC_KAPPA - 1) * c + k; /* Index into disclosed_coin_secrets[] */
|
size_t j = (TALER_CNC_KAPPA - 1) * c + k; /* Index into disclosed_coin_secrets[] */
|
||||||
const struct TALER_PlanchetMasterSecretP *secret;
|
const struct TALER_PlanchetMasterSecretP *secret;
|
||||||
@ -966,8 +966,11 @@ sign_and_finalize_age_withdraw (
|
|||||||
num_coins,
|
num_coins,
|
||||||
awrcs);
|
awrcs);
|
||||||
cleanup:
|
cleanup:
|
||||||
// TODO[oec]: handle error cases
|
GNUNET_break (MHD_NO != ret);
|
||||||
// TODO[oec]: cleanup!
|
|
||||||
|
/* Free resources */
|
||||||
|
for (unsigned int i = 0; i<num_coins; i++)
|
||||||
|
TALER_blinded_denom_sig_free (&awrcs[i].coin_sig);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user