[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 02/02: followup to 2021-12-19, "introduce new data type
From: |
gnunet |
Subject: |
[taler-merchant] 02/02: followup to 2021-12-19, "introduce new data type for the post-orders hash used for idempotency checks, as well as the hash and salt for authentication checks" |
Date: |
Thu, 23 Dec 2021 13:02:09 +0100 |
This is an automated email from the git hooks/post-receive script.
ttn pushed a commit to branch master
in repository merchant.
commit a7b07726a378b4408d95dca3c6d407ebf85f80a8
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Thu Dec 23 06:59:59 2021 -0500
followup to 2021-12-19, "introduce new data type for the post-orders hash
used for idempotency checks, as well as the hash and salt for authentication
checks"
---
src/backenddb/test_merchantdb.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c
index 9d372fce..990c6b83 100644
--- a/src/backenddb/test_merchantdb.c
+++ b/src/backenddb/test_merchantdb.c
@@ -1346,7 +1346,7 @@ test_insert_order (const struct InstanceData *instance,
const struct OrderData *order,
enum GNUNET_DB_QueryStatus expected_result)
{
- struct GNUNET_HashCode h_post;
+ struct TALER_MerchantPostDataHashP h_post;
memset (&h_post,
42,
@@ -1377,8 +1377,8 @@ test_lookup_order (const struct InstanceData *instance,
{
struct TALER_ClaimTokenP ct;
json_t *lookup_terms = NULL;
- struct GNUNET_HashCode oh;
- struct GNUNET_HashCode wh;
+ struct TALER_MerchantPostDataHashP oh;
+ struct TALER_MerchantPostDataHashP wh;
memset (&wh,
42,
@@ -2015,7 +2015,7 @@ run_test_orders (struct TestOrders_Closure *cls)
&cls->orders[0]));
/* Make sure it fails correctly for nonexistent orders */
{
- struct GNUNET_HashCode unused;
+ struct TALER_MerchantPostDataHashP unused;
if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS !=
plugin->lookup_order (plugin->cls,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.