[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-donau] branch master updated: working on keys path
From: |
gnunet |
Subject: |
[taler-donau] branch master updated: working on keys path |
Date: |
Sat, 09 Mar 2024 17:10:14 +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 723c6ea working on keys path
723c6ea is described below
commit 723c6ea1ee08a5ff564e53f575806381825cecce
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
AuthorDate: Sat Mar 9 17:09:48 2024 +0100
working on keys path
---
src/donau/donau-httpd_keys.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c
index 31c5af8..f06808e 100644
--- a/src/donau/donau-httpd_keys.c
+++ b/src/donau/donau-httpd_keys.c
@@ -605,13 +605,12 @@ insert_donation_unit_cb (void *cls,
{
struct KeysBuilderContext *kbc = cls;
struct HelperDonationUnit *hd = value;
- struct DH_DonationUnitKey *donation_unit;
- uint64_t validity_year;
+ struct DH_DonationUnitKey *du;
- donation_unit = GNUNET_CONTAINER_multihashmap_get (
+ du = GNUNET_CONTAINER_multihashmap_get (
kbc->ksh->donation_unit_map,
h_donation_unit_pub);
- if (NULL != donation_unit)
+ if (NULL != du)
return GNUNET_OK; /* skip: this key is already active! */
// if (GNUNET_TIME_relative_is_zero (hd->validity_duration))
// return GNUNET_OK; /* this key already expired! */
@@ -622,10 +621,12 @@ insert_donation_unit_cb (void *cls,
GNUNET_JSON_PACK (
GNUNET_JSON_pack_data_auto ("donation_unit_pub",
&hd->donation_unit_pub),
- GNUNET_JSON_pack_uint64 ("validity_year",
- validity_year),
- TALER_JSON_pack_amount ("value",
- value),
+ // GNUNET_JSON_pack_uint64 ("validity_year",
+ // du->validity_year),
+ // TALER_JSON_pack_amount ("value",
+ // &du->value),
+ GNUNET_JSON_pack_data_auto ("donation_unit_secmod_sig",
+ &hd->sm_sig),
GNUNET_JSON_pack_string ("section_name",
hd->section_name)
)));
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-donau] branch master updated: working on keys path, gnunet, 2024/03/05
- [taler-donau] branch master updated: working on keys path, gnunet, 2024/03/09
- [taler-donau] branch master updated: working on keys path,
gnunet <=
- [taler-donau] branch master updated: working on keys path, gnunet, 2024/03/11
- [taler-donau] branch master updated: working on keys path, gnunet, 2024/03/12
- [taler-donau] branch master updated: working on keys path, gnunet, 2024/03/13
- [taler-donau] branch master updated: working on keys path, gnunet, 2024/03/20