commit 2c694f9a62544784b30ec4f0798aa5bf5de60de4
parent 4114ac6d31d30a430e0ec7f3a8737e18e582e196
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 4 May 2025 09:26:10 +0200
do not insert 0-hash, use NULL instead if we have no attributes
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/exchange/taler-exchange-httpd_aml-decision.c b/src/exchange/taler-exchange-httpd_aml-decision.c
@@ -406,7 +406,9 @@ TEH_handler_post_aml_decision (
form_id,
eas, /* enc_attributes_size*/
ea, /* enc_attributes*/
- &h_attr, /* attributes_hash */
+ NULL != attributes
+ ? &h_attr
+ : NULL, /* attributes_hash */
attributes_expiration,
&invalid_officer,
&unknown_account,