donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit f866768c4e51abedac15666f08720a3b42384855
parent 675966c8f51e03ddce36ca73a9d1f29b6fd9a76a
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Mon, 20 Jul 2026 00:00:45 +0200

fix logging

Diffstat:
Msrc/donau/donau-httpd_post-csr-issue.c | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/donau/donau-httpd_post-csr-issue.c b/src/donau/donau-httpd_post-csr-issue.c @@ -72,7 +72,8 @@ DH_handler_post_csr_issue (struct DH_RequestContext *rc, dk = DH_keys_donation_unit_by_hash (&du_pub_hash); if (NULL == dk) { - GNUNET_break (0); + /* client-supplied hash: not an internal invariant violation */ + GNUNET_break_op (0); return TALER_MHD_reply_with_error ( rc->connection, MHD_HTTP_NOT_FOUND, @@ -82,8 +83,8 @@ DH_handler_post_csr_issue (struct DH_RequestContext *rc, if (GNUNET_CRYPTO_BSA_CS != dk->donation_unit_pub.bsign_pub_key->cipher) { - /* donation_unit is valid but not for CS */ - GNUNET_break (0); + /* donation_unit is valid but not for CS (client-selected) */ + GNUNET_break_op (0); return TALER_MHD_reply_with_error ( rc->connection, MHD_HTTP_BAD_REQUEST,