commit d6a9b5e1c44bfbe24d8ea57aaf0afa4f0174eefe
parent e028dbc25cabe76425fff32243e774b57ddf7d59
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
Date: Thu, 7 Dec 2023 17:01:24 +0100
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/pq/pq_query_helper.c b/src/pq/pq_query_helper.c
@@ -22,6 +22,7 @@
#include <gnunet/gnunet_util_lib.h>
#include <gnunet/gnunet_pq_lib.h>
#include <taler/taler_pq_lib.h>
+#include "donau_util.h"
/**
@@ -37,7 +38,7 @@
* @param[out] scratch buffer for dynamic allocations (to be done via #GNUNET_malloc()
* @param scratch_length number of entries left in @a scratch
* @return -1 on error, number of offsets used in @a scratch otherwise
- *
+ */
static int
qconv_donation_unit_pub (void *cls,
const void *data,
@@ -54,7 +55,7 @@ qconv_donation_unit_pub (void *cls,
bsign_pub_key;
size_t tlen;
size_t len;
- uint32_t be[2];
+ uint32_t be[1];
char *buf;
void *tbuf;
@@ -64,7 +65,6 @@ qconv_donation_unit_pub (void *cls,
GNUNET_assert (scratch_length > 0);
GNUNET_break (NULL == cls);
be[0] = htonl ((uint32_t) bsp->cipher);
- be[1] = htonl (donation_unit_pub->age_mask.bits);
switch (bsp->cipher)
{
case GNUNET_CRYPTO_BSA_RSA:
@@ -120,6 +120,5 @@ TALER_PQ_query_param_donation_unit_pub (
return res;
}
-*/
/* end of pq/pq_query_helper.c */