gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: fix bogus age commitment length


From: gnunet
Subject: [taler-merchant] branch master updated: fix bogus age commitment length check
Date: Mon, 25 Apr 2022 23:30:27 +0200

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

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 46ed6a71 fix bogus age commitment length check
46ed6a71 is described below

commit 46ed6a7172a363ea50aa1512a257165c9dd37e67
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Apr 25 23:30:24 2022 +0200

    fix bogus age commitment length check
---
 src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 37a37008..4d8dafe0 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -2136,7 +2136,7 @@ parse_pay (struct MHD_Connection *connection,
 
             /* Sanity check the amount of AgeCommitment's public keys.  The
              * actual check will be performed once we now the denominations. */
-            if (32 >= num)
+            if (32 <= num)
             {
               GNUNET_break_op (0);
               GNUNET_JSON_parse_free (spec);

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