[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: Verifying /track/tr
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: Verifying /track/transfer response signature. |
Date: |
Fri, 27 Jul 2018 16:34:39 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 28140f9 Verifying /track/transfer response signature.
28140f9 is described below
commit 28140f90e800f37adea0cdcc3fd29a64f071c8eb
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jul 27 16:34:19 2018 +0200
Verifying /track/transfer response signature.
---
src/exchange-lib/exchange_api_track_transfer.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/exchange-lib/exchange_api_track_transfer.c
b/src/exchange-lib/exchange_api_track_transfer.c
index 5bd6727..96ff481 100644
--- a/src/exchange-lib/exchange_api_track_transfer.c
+++ b/src/exchange-lib/exchange_api_track_transfer.c
@@ -196,6 +196,17 @@ check_track_transfer_response_ok (struct
TALER_EXCHANGE_TrackTransferHandle *wdh
GNUNET_JSON_parse_free (spec);
return GNUNET_SYSERR;
}
+ if (GNUNET_OK != GNUNET_CRYPTO_eddsa_verify
+ (TALER_SIGNATURE_EXCHANGE_CONFIRM_WIRE_DEPOSIT,
+ &wdp.purpose,
+ &exchange_sig.eddsa_signature,
+ &exchange_pub.eddsa_pub))
+ {
+ GNUNET_break_op (0);
+ GNUNET_JSON_parse_free (spec);
+ return GNUNET_SYSERR;
+ }
+
if (GNUNET_OK !=
TALER_amount_subtract (&total_expected,
&total_expected,
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: Verifying /track/transfer response signature.,
gnunet <=