gnunet-svn
[Top][All Lists]
Advanced

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

[taler-donau] branch master updated: uncomment part in http keys


From: gnunet
Subject: [taler-donau] branch master updated: uncomment part in http keys
Date: Tue, 05 Mar 2024 20:44: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 1e0935a  uncomment part in http keys
1e0935a is described below

commit 1e0935a9a9237d7846149beaf8e5e477c861dcf4
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
AuthorDate: Tue Mar 5 20:43:16 2024 +0100

    uncomment part in http keys
---
 src/donau/donau-httpd_keys.c | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c
index 5c819b9..d262fc1 100644
--- a/src/donau/donau-httpd_keys.c
+++ b/src/donau/donau-httpd_keys.c
@@ -865,7 +865,6 @@ finish_keys_response (struct DH_KeyStateHandle *ksh)
   struct GNUNET_TIME_Timestamp last_cherry_pick_date;
   struct GNUNET_CONTAINER_Heap *heap;
   struct GNUNET_HashContext *hash_context = NULL;
-  struct GNUNET_HashCode grouped_hash_xor = {0};
 
   sctx.signkeys = json_array ();
   GNUNET_assert (NULL != sctx.signkeys);
@@ -1064,19 +1063,18 @@ finish_keys_response (struct DH_KeyStateHandle *ksh)
     struct GNUNET_HashCode hc;
 
     GNUNET_CRYPTO_hash_context_finish (hash_context, &hc);
-    // if (GNUNET_OK !=
-    //   create_krd (ksh,
-    //               &hc,
-    //               last_cherry_pick_date,
-    //               sctx.signkeys,
-    //               grouped_donation_units,
-    //               &grouped_hash_xor))
-    // {
-    // GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
-    //             "Failed to generate key response data for %s\n",
-    //             GNUNET_TIME_timestamp2s (last_cherry_pick_date));
-    // goto CLEANUP;
-    // }
+    if (GNUNET_OK !=
+        create_krd (ksh,
+                    &hc,
+                    last_cherry_pick_date,
+                    // sctx.signkeys,
+                    grouped_donation_units))
+    {
+      GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+                  "Failed to generate key response data for %s\n",
+                  GNUNET_TIME_timestamp2s (last_cherry_pick_date));
+      goto CLEANUP;
+    }
   }
   else
   {

-- 
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]