[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: use htonl, not GNUNET_htonll
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: use htonl, not GNUNET_htonll |
Date: |
Tue, 26 Apr 2022 01:50:35 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new f24fc185 use htonl, not GNUNET_htonll
f24fc185 is described below
commit f24fc1856401a7d10e8e1df7c8364c8e10ec1372
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Apr 26 01:50:31 2022 +0200
use htonl, not GNUNET_htonll
---
src/util/age_restriction.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/util/age_restriction.c b/src/util/age_restriction.c
index f4a58946..03c2001f 100644
--- a/src/util/age_restriction.c
+++ b/src/util/age_restriction.c
@@ -268,12 +268,12 @@ struct TALER_AgeAttestationPS
/**
* Purpose must be #TALER_SIGNATURE_WALLET_AGE_ATTESTATION.
*/
- struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose GNUNET_PACKED;
/**
* Age mask that defines the underlying age groups
*/
- struct TALER_AgeMaskNBO mask;
+ struct TALER_AgeMaskNBO mask GNUNET_PACKED;
/**
* The particular age that this attestation is for
@@ -325,7 +325,7 @@ TALER_age_commitment_attest (
struct TALER_AgeAttestationPS at = {
.purpose.size = htonl (sizeof(at)),
.purpose.purpose = htonl (TALER_SIGNATURE_WALLET_AGE_ATTESTATION),
- .mask.bits_nbo = GNUNET_htonll (cp->commitment.mask.bits),
+ .mask.bits_nbo = htonl (cp->commitment.mask.bits),
.age = age,
.padding = { 0 },
};
@@ -374,7 +374,7 @@ TALER_age_commitment_verify (
struct TALER_AgeAttestationPS at = {
.purpose.size = htonl (sizeof(at)),
.purpose.purpose = htonl (TALER_SIGNATURE_WALLET_AGE_ATTESTATION),
- .mask.bits_nbo = GNUNET_htonll (comm->mask.bits),
+ .mask.bits_nbo = htonl (comm->mask.bits),
.age = age,
.padding = { 0 },
};
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: use htonl, not GNUNET_htonll,
gnunet <=