[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: moving a 'PS' struc
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: moving a 'PS' struct into exchange codebase |
Date: |
Wed, 05 Jul 2017 14:11:27 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 5e2e443 moving a 'PS' struct into exchange codebase
5e2e443 is described below
commit 5e2e4432704549a7326fbce5ac59c082d777f186
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jul 5 14:10:50 2017 +0200
moving a 'PS' struct into exchange codebase
---
src/backend/taler-merchant-httpd_refund.c | 4 ++--
src/backend/taler-merchant-httpd_refund.h | 20 --------------------
2 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_refund.c
b/src/backend/taler-merchant-httpd_refund.c
index ba79bf9..509235e 100644
--- a/src/backend/taler-merchant-httpd_refund.c
+++ b/src/backend/taler-merchant-httpd_refund.c
@@ -119,7 +119,7 @@ MH_handler_refund_increase (struct TMH_RequestHandler *rh,
const char *merchant;
struct MerchantInstance *mi;
struct GNUNET_HashCode h_contract_terms;
- struct RefundConfirmationP confirmation;
+ struct TALER_MerchantRefundConfirmationPS confirmation;
struct GNUNET_CRYPTO_EddsaSignature sig;
struct GNUNET_JSON_Specification spec[] = {
TALER_JSON_spec_amount ("refund", &refund),
@@ -264,7 +264,7 @@ MH_handler_refund_increase (struct TMH_RequestHandler *rh,
GNUNET_JSON_parse_free (spec);
confirmation.purpose.purpose = htonl (TALER_SIGNATURE_MERCHANT_REFUND_OK);
- confirmation.purpose.size = htonl (sizeof (struct RefundConfirmationP));
+ confirmation.purpose.size = htonl (sizeof (struct
TALER_MerchantRefundConfirmationPS));
if (GNUNET_OK !=
GNUNET_CRYPTO_eddsa_sign (&mi->privkey.eddsa_priv,
diff --git a/src/backend/taler-merchant-httpd_refund.h
b/src/backend/taler-merchant-httpd_refund.h
index c19d69e..64da3f9 100644
--- a/src/backend/taler-merchant-httpd_refund.h
+++ b/src/backend/taler-merchant-httpd_refund.h
@@ -26,26 +26,6 @@
#include "taler-merchant-httpd.h"
/**
- * We confirm with a signature that the refund has been successfully
- * done. Even though the frontend doesn't usually do crypto, this signature
- * may turn useful in court.
- */
-struct RefundConfirmationP
-{
-
- /**
- * Set to TALER_SIGNATURE_MERCHANT_REFUND_OK.
- */
- struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
-
- /**
- * Hashing the order id, as frontends don't handle contract terms
- */
- struct GNUNET_HashCode h_order_id GNUNET_PACKED;
-
-};
-
-/**
* Handle request for increasing the refund associated with
* a contract.
*
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: moving a 'PS' struct into exchange codebase,
gnunet <=