merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 2b7e12c16f0144258e6fc13c5b00d55d7402c92c
parent b30be5ae5429f3a464f6dbba830e2f5482f983dc
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 13 Sep 2025 11:47:35 +0200

fix #10402

Diffstat:
Msrc/util/mfa.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/util/mfa.c b/src/util/mfa.c @@ -124,11 +124,15 @@ TALER_MERCHANT_mfa_body_hash ( struct GNUNET_HashContext *hc; if (NULL == body) + { json_str = NULL; + } else + { json_str = json_dumps (body, JSON_COMPACT | JSON_SORT_KEYS); - GNUNET_assert (NULL != json_str); + GNUNET_assert (NULL != json_str); + } hc = GNUNET_CRYPTO_hash_context_start (); GNUNET_CRYPTO_hash_context_read (hc, salt,