aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-08-24 23:25:26 +0200
committerChristian Grothoff <christian@grothoff.org>2024-08-24 23:25:26 +0200
commit3da15349a7d24155497fa104e7881ce9ca9e1d94 (patch)
treec8e67ef4133146edb0bd47dc82c2933d9ad8eec8 /src/util
parente2c67f76b01c0c5aa21727feb88946c2c9f3a877 (diff)
fix badly named structure, it is a pointer, not packed
Diffstat (limited to 'src/util')
-rw-r--r--src/util/tokens.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/util/tokens.c b/src/util/tokens.c
index 5d99c5dfe..b79dda61a 100644
--- a/src/util/tokens.c
+++ b/src/util/tokens.c
@@ -176,7 +176,7 @@ TALER_token_blind_input_copy (struct TALER_TokenUseMerchantValues *bi_dst,
enum GNUNET_GenericReturnValue
TALER_token_issue_sign (const struct TALER_TokenIssuePrivateKeyP *issue_priv,
- const struct TALER_TokenEnvelopeP *envelope,
+ const struct TALER_TokenEnvelope *envelope,
struct TALER_TokenIssueBlindSignatureP *issue_sig)
{
issue_sig->signature
@@ -188,6 +188,7 @@ TALER_token_issue_sign (const struct TALER_TokenIssuePrivateKeyP *issue_priv,
return GNUNET_OK;
}
+
enum GNUNET_GenericReturnValue
TALER_token_issue_verify (const struct TALER_TokenUsePublicKeyP *use_pub,
const struct TALER_TokenIssuePublicKeyP *issue_pub,
@@ -211,6 +212,7 @@ TALER_token_issue_verify (const struct TALER_TokenUsePublicKeyP *use_pub,
return GNUNET_OK;
}
+
enum GNUNET_GenericReturnValue
TALER_token_issue_sig_unblind (
struct TALER_TokenIssueSignatureP *issue_sig,
@@ -221,12 +223,12 @@ TALER_token_issue_sig_unblind (
const struct TALER_TokenIssuePublicKeyP *issue_pub)
{
issue_sig->signature
- = GNUNET_CRYPTO_blind_sig_unblind (blinded_sig->signature,
- secret,
- &use_pub_hash->hash,
- sizeof (use_pub_hash->hash),
- alg_values->blinding_inputs,
- issue_pub->public_key);
+ = GNUNET_CRYPTO_blind_sig_unblind (blinded_sig->signature,
+ secret,
+ &use_pub_hash->hash,
+ sizeof (use_pub_hash->hash),
+ alg_values->blinding_inputs,
+ issue_pub->public_key);
if (NULL == issue_sig->signature)
{
GNUNET_break_op (0);