gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: implement protocol v22, fixes #9


From: gnunet
Subject: [taler-merchant] branch master updated: implement protocol v22, fixes #9185
Date: Sat, 09 Nov 2024 20:37:15 +0100

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new d7d790a9 implement protocol v22, fixes #9185
d7d790a9 is described below

commit d7d790a98d4bd471efb41a5a82dc148969c5de36
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Nov 9 20:37:01 2024 +0100

    implement protocol v22, fixes #9185
---
 src/backend/taler-merchant-httpd_post-orders-ID-claim.c | 2 +-
 src/backend/taler-merchant-httpd_post-orders-ID-pay.c   | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-claim.c 
b/src/backend/taler-merchant-httpd_post-orders-ID-claim.c
index 16b69c53..de42c438 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-claim.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-claim.c
@@ -272,7 +272,7 @@ TMH_post_orders_ID_claim (const struct TMH_RequestHandler 
*rh,
   /* create contract signature */
   {
     struct TALER_PrivateContractHashP hash;
-    struct GNUNET_CRYPTO_EddsaSignature merchant_sig;
+    struct TALER_MerchantSignatureP merchant_sig;
 
     /**
      * Hash of the JSON contract in UTF-8 including 0-termination,
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c 
b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
index e6097a50..9a85bb05 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -1458,6 +1458,9 @@ AGE_FAIL:
     enum TALER_ErrorCode ec;
     size_t off = 0;
 
+    TALER_merchant_contract_sign (&pc->h_contract_terms,
+                                  &pc->hc->instance->merchant_priv,
+                                  &dcd.merchant_sig);
     for (size_t i = 0; i<pc->coins_cnt; i++)
     {
       struct DepositConfirmation *dc = &pc->dc[i];

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