gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-donau] branch master updated: [db] changes in query helper


From: gnunet
Subject: [taler-donau] branch master updated: [db] changes in query helper
Date: Thu, 07 Dec 2023 00:37:22 +0100

This is an automated email from the git hooks/post-receive script.

johannes-casaburi pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new 1f66c00  [db] changes in query helper
1f66c00 is described below

commit 1f66c007ef616bac8eb2a726e911feb2392fe6d6
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
AuthorDate: Thu Dec 7 00:36:54 2023 +0100

    [db] changes in query helper
---
 contrib/gana             | 2 +-
 src/pq/pq_query_helper.c | 7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index 5570516..d421019 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 557051695c575b45fb1bfdbacbc69d67c6908425
+Subproject commit d4210197e73b86f214a2df8075b785bc7344fb65
diff --git a/src/pq/pq_query_helper.c b/src/pq/pq_query_helper.c
index 6a1fc26..4d76d60 100644
--- 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 */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]