[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: fix truth upload idempotency ch
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: fix truth upload idempotency check |
Date: |
Thu, 04 Nov 2021 23:03:47 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 47e88c9 fix truth upload idempotency check
47e88c9 is described below
commit 47e88c9e183fbea80785cbabdef8d32313c0838b
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Nov 4 23:03:41 2021 +0100
fix truth upload idempotency check
---
src/backend/anastasis-httpd_truth_upload.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backend/anastasis-httpd_truth_upload.c
b/src/backend/anastasis-httpd_truth_upload.c
index 8eb410c..e4bce9c 100644
--- a/src/backend/anastasis-httpd_truth_upload.c
+++ b/src/backend/anastasis-httpd_truth_upload.c
@@ -813,8 +813,8 @@ AH_handler_truth_post (
ok = ( (xtruth_size == encrypted_truth_size) &&
(0 == strcmp (xmethod,
type)) &&
- (0 == strcmp (truth_mime,
- xtruth_mime)) &&
+ (0 == strcmp (((NULL == truth_mime) ? "" : truth_mime),
+ ((NULL == xtruth_mime) ? "" : xtruth_mime))) &&
(0 == memcmp (xtruth,
encrypted_truth,
xtruth_size)) );
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: fix truth upload idempotency check,
gnunet <=