[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-donau] branch master updated: -fix compiler warnings
From: |
gnunet |
Subject: |
[taler-donau] branch master updated: -fix compiler warnings |
Date: |
Wed, 15 May 2024 11:38:24 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository donau.
The following commit(s) were added to refs/heads/master by this push:
new 64e9b0c -fix compiler warnings
64e9b0c is described below
commit 64e9b0cb6bc3e66dffbcba99d9a97ddb530d48e8
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed May 15 11:38:19 2024 +0200
-fix compiler warnings
---
src/donau/donau-httpd_batch-submit.c | 2 +-
src/donau/donau-httpd_keys.c | 11 +++++------
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/donau/donau-httpd_batch-submit.c
b/src/donau/donau-httpd_batch-submit.c
index 0ad55a1..fb4b4a1 100644
--- a/src/donau/donau-httpd_batch-submit.c
+++ b/src/donau/donau-httpd_batch-submit.c
@@ -60,7 +60,7 @@ parse_json_dr (struct DONAU_DonationReceipt *dr,
GNUNET_JSON_spec_fixed_auto ("nonce",
&dr->nonce),
GNUNET_JSON_spec_unblinded_signature ("donation_unit_sig",
- &dr->donation_unit_sig),
+
&dr->donation_unit_sig.unblinded_sig),
GNUNET_JSON_spec_end ()
};
diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c
index 5314092..d801b5b 100644
--- a/src/donau/donau-httpd_keys.c
+++ b/src/donau/donau-httpd_keys.c
@@ -1434,10 +1434,8 @@ struct DH_DonationUnitKey *
DH_keys_donation_unit_by_hash (
const struct DONAU_DonationUnitHashP *h_du_pub)
{
- struct DH_DonationUnitKey *dk;
- dk = GNUNET_CONTAINER_multihashmap_get (du_keys,
- &h_du_pub->hash);
- return dk;
+ return GNUNET_CONTAINER_multihashmap_get (du_keys,
+ &h_du_pub->hash);
}
@@ -1448,7 +1446,8 @@ DH_keys_donation_unit_cs_r_pub (
struct GNUNET_CRYPTO_CSPublicRPairP *r_pub)
{
struct DH_DonationUnitKey *dk;
- dk = DH_keys_donation_unit_by_hash (&h_donation_unit_pub->hash);
+
+ dk = DH_keys_donation_unit_by_hash (h_donation_unit_pub);
if (NULL == dk)
{
return TALER_EC_EXCHANGE_GENERIC_DENOMINATION_KEY_UNKNOWN;
@@ -1461,7 +1460,7 @@ DH_keys_donation_unit_cs_r_pub (
{
struct TALER_CRYPTO_CsDeriveRequest cdr = {
- .h_cs = &dk->h_donation_unit_pub,
+ .h_cs = (const struct TALER_CsPubHashP *) &dk->h_donation_unit_pub,
.nonce = nonce
};
return TALER_CRYPTO_helper_cs_r_derive (csdh,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-donau] branch master updated: -fix compiler warnings,
gnunet <=