summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-04-25 23:30:24 +0200
committerFlorian Dold <florian@dold.me>2022-04-25 23:30:24 +0200
commit46ed6a7172a363ea50aa1512a257165c9dd37e67 (patch)
treefdfa1af0295f190c451fac32c9d0e246010a3499 /src/backend
parentceb62f87b444d6c57fc34c5c2c4ed4295e499648 (diff)
downloadmerchant-46ed6a7172a363ea50aa1512a257165c9dd37e67.tar.gz
merchant-46ed6a7172a363ea50aa1512a257165c9dd37e67.tar.bz2
merchant-46ed6a7172a363ea50aa1512a257165c9dd37e67.zip
fix bogus age commitment length check
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/taler-merchant-httpd_post-orders-ID-pay.c2
1 files changed, 1 insertions, 1 deletions
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);