gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] 13/130: -more FTBFS fixes


From: gnunet
Subject: [taler-exchange] 13/130: -more FTBFS fixes
Date: Wed, 17 Nov 2021 12:24:21 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

commit 3af7bc0a292715766c3b0196d31a3eea8dc6ca4b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Oct 25 10:40:32 2021 +0200

    -more FTBFS fixes
---
 contrib/gana                 | 2 +-
 src/include/taler_json_lib.h | 2 +-
 src/json/json_pack.c         | 8 +++-----
 src/json/json_wire.c         | 2 +-
 4 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index 0272caa8..8c7d9be4 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 0272caa8ff8ee7553d035d29fb19d01866df43e4
+Subproject commit 8c7d9be40ba627348da3e01b91b4f1d3cc78631f
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h
index 068dea7d..8a2422f5 100644
--- a/src/include/taler_json_lib.h
+++ b/src/include/taler_json_lib.h
@@ -505,7 +505,7 @@ TALER_JSON_get_error_code2 (const void *data,
  */
 enum GNUNET_GenericReturnValue
 TALER_JSON_merchant_wire_signature_hash (const json_t *wire_s,
-                                         struct GNUNET_HashCode *hc);
+                                         struct TALER_MerchantWireHash *hc);
 
 
 /**
diff --git a/src/json/json_pack.c b/src/json/json_pack.c
index 910fc639..8e7d13eb 100644
--- a/src/json/json_pack.c
+++ b/src/json/json_pack.c
@@ -101,16 +101,15 @@ TALER_JSON_pack_denomination_public_key (
   case TALER_DENOMINATION_RSA:
     ps.object
       = GNUNET_JSON_PACK (
-          GNUNET_JSON_pack_uint32 ("cipher",
+          GNUNET_JSON_pack_uint64 ("cipher",
                                    TALER_DENOMINATION_RSA),
-          GNUNET_JSON_pack_uint32 ("age_mask",
+          GNUNET_JSON_pack_uint64 ("age_mask",
                                    pk->age_mask),
           GNUNET_JSON_pack_rsa_public_key ("rsa_public_key",
                                            pk->details.rsa_public_key));
     break;
   default:
     GNUNET_assert (0);
-    return GNUNET_SYSERR;
   }
   return ps;
 }
@@ -130,14 +129,13 @@ TALER_JSON_pack_denomination_signature (
   case TALER_DENOMINATION_RSA:
     ps.object
       = GNUNET_JSON_PACK (
-          GNUNET_JSON_pack_uint32 ("cipher",
+          GNUNET_JSON_pack_uint64 ("cipher",
                                    TALER_DENOMINATION_RSA),
           GNUNET_JSON_pack_rsa_signature ("rsa_signature",
                                           sig->details.rsa_signature));
     break;
   default:
     GNUNET_assert (0);
-    return GNUNET_SYSERR;
   }
   return ps;
 }
diff --git a/src/json/json_wire.c b/src/json/json_wire.c
index f88daefc..8f7fd6bb 100644
--- a/src/json/json_wire.c
+++ b/src/json/json_wire.c
@@ -26,7 +26,7 @@
 
 enum GNUNET_GenericReturnValue
 TALER_JSON_merchant_wire_signature_hash (const json_t *wire_s,
-                                         struct GNUNET_HashCode *hc)
+                                         struct TALER_MerchantWireHash *hc)
 {
   const char *payto_uri;
   struct TALER_WireSalt salt;

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