gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: init pub_key_hash when fetching


From: gnunet
Subject: [taler-exchange] branch master updated: init pub_key_hash when fetching from DB
Date: Sun, 29 Oct 2023 12:36:33 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new ec1dde17 init pub_key_hash when fetching from DB
ec1dde17 is described below

commit ec1dde17ffd66433024f16f5ca83394738cb4baa
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Oct 29 12:36:30 2023 +0100

    init pub_key_hash when fetching from DB
---
 src/pq/pq_result_helper.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c
index d9a3d8fd..c32e0d0e 100644
--- a/src/pq/pq_result_helper.c
+++ b/src/pq/pq_result_helper.c
@@ -482,6 +482,9 @@ extract_denom_pub (void *cls,
       return GNUNET_SYSERR;
     }
     pk->bsign_pub_key = bpk;
+    GNUNET_CRYPTO_hash (res,
+                        len,
+                        &bpk->pub_key_hash);
     return GNUNET_OK;
   case GNUNET_CRYPTO_BSA_CS:
     if (sizeof (bpk->details.cs_public_key) != len)
@@ -494,6 +497,9 @@ extract_denom_pub (void *cls,
                    res,
                    len);
     pk->bsign_pub_key = bpk;
+    GNUNET_CRYPTO_hash (res,
+                        len,
+                        &bpk->pub_key_hash);
     return GNUNET_OK;
   }
   GNUNET_break (0);

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