[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: initialize hash on receive
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: initialize hash on receive |
Date: |
Tue, 10 Dec 2024 20:08:57 +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 e6825e24b initialize hash on receive
e6825e24b is described below
commit e6825e24b62165d28b1bfd70bd81619dfb75cd81
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Dec 10 20:08:50 2024 +0100
initialize hash on receive
---
src/json/json_helper.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index ff1b3c345..61438efdd 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -757,6 +757,8 @@ parse_token_pub (void *cls,
GNUNET_free (bsign_pub);
return GNUNET_SYSERR;
}
+ GNUNET_CRYPTO_rsa_public_key_hash (bsign_pub->details.rsa_public_key,
+ &bsign_pub->pub_key_hash);
token_pub->public_key = bsign_pub;
return GNUNET_OK;
}
@@ -779,6 +781,9 @@ parse_token_pub (void *cls,
GNUNET_free (bsign_pub);
return GNUNET_SYSERR;
}
+ GNUNET_CRYPTO_hash (&bsign_pub->details.cs_public_key,
+ sizeof(bsign_pub->details.cs_public_key),
+ &bsign_pub->pub_key_hash);
token_pub->public_key = bsign_pub;
return GNUNET_OK;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: initialize hash on receive,
gnunet <=