diff options
author | Florian Dold <florian@dold.me> | 2022-04-25 23:30:24 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-04-25 23:30:24 +0200 |
commit | 46ed6a7172a363ea50aa1512a257165c9dd37e67 (patch) | |
tree | fdfa1af0295f190c451fac32c9d0e246010a3499 /src | |
parent | ceb62f87b444d6c57fc34c5c2c4ed4295e499648 (diff) | |
download | merchant-46ed6a7172a363ea50aa1512a257165c9dd37e67.tar.gz merchant-46ed6a7172a363ea50aa1512a257165c9dd37e67.tar.bz2 merchant-46ed6a7172a363ea50aa1512a257165c9dd37e67.zip |
fix bogus age commitment length check
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 2 |
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); |