exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 348401e100474f74e73315c8badf8a6cc4fa704a
parent 3cc2337cdca35104f7c25ac4941bef4aeb350d61
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 13 Aug 2026 20:28:09 +0200

fix attribute filter in /attest

Diffstat:
Msrc/exchange/taler-exchange-httpd_post-reserves-RESERVE_PUB-attest.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_post-reserves-RESERVE_PUB-attest.c b/src/exchange/taler-exchange-httpd_post-reserves-RESERVE_PUB-attest.c @@ -190,8 +190,9 @@ kyc_process_cb (struct ReserveAttestContext *rsc, } json_object_foreach (attrs, name, val) { - bool requested = strcmp (name, - "FORM_ID"); /* we always return the FORM_ID */ + /* we always return the FORM_ID, everything else only on request */ + bool requested = (0 == strcmp (name, + "FORM_ID")); size_t idx; json_t *str;