From d79c23aaabb5dc1c9073555d574bea01b75668cd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 27 Jan 2023 15:10:25 +0100 Subject: add logic to store attributes --- src/include/taler_crypto_lib.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/include/taler_crypto_lib.h') diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 35a6bd6da..6658ee0a1 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -1259,13 +1259,13 @@ struct TALER_AgeAttestation #endif }; + extern const struct TALER_AgeCommitmentHash TALER_ZeroAgeCommitmentHash; -#define TALER_AgeCommitmentHash_isNullOrZero(ph) ((NULL == ph) || \ - (0 == memcmp (ph, \ - & \ - TALER_ZeroAgeCommitmentHash, \ - sizeof(struct \ - TALER_AgeCommitmentHash)))) +#define TALER_AgeCommitmentHash_isNullOrZero(ph) \ + ((NULL == ph) || \ + (0 == memcmp (ph, \ + &TALER_ZeroAgeCommitmentHash, \ + sizeof(struct TALER_AgeCommitmentHash)))) /** * @brief Type of public signing keys for verifying blindly signed coins. -- cgit v1.2.3