commit 9c9e9223a3807c206e628351f5f65e6f42f0c68b
parent 47243224aad04017464e5d77c1631b8354e13132
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 24 Apr 2025 00:16:37 +0200
fix #9779
Diffstat:
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_melt_v26.c b/src/exchange/taler-exchange-httpd_melt_v26.c
@@ -992,7 +992,7 @@ phase_generate_reply_error (
mc->rc->connection,
mc->error.details.denom_h,
TALER_EC_EXCHANGE_GENERIC_DENOMINATION_EXPIRED,
- NULL));
+ "MELT"));
break;
case MELT_ERROR_DENOMINATION_VALIDITY_IN_FUTURE:
@@ -1001,7 +1001,7 @@ phase_generate_reply_error (
mc->rc->connection,
mc->error.details.denom_h,
TALER_EC_EXCHANGE_GENERIC_DENOMINATION_VALIDITY_IN_FUTURE,
- NULL));
+ "MELT"));
break;
case MELT_ERROR_DENOMINATION_REVOKED:
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c
@@ -87,6 +87,7 @@ TEH_RESPONSE_reply_expired_denom_pub_hash (
struct GNUNET_TIME_Timestamp now
= GNUNET_TIME_timestamp_get ();
+ GNUNET_assert (NULL != oper);
ecr = TALER_exchange_online_denomination_expired_sign (
&TEH_keys_exchange_sign_,
now,
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c
@@ -1330,7 +1330,7 @@ phase_generate_reply_error (
wc->rc->connection,
wc->error.details.denom_h,
TALER_EC_EXCHANGE_GENERIC_DENOMINATION_EXPIRED,
- NULL));
+ "WITHDRAW"));
break;
case WITHDRAW_ERROR_DENOMINATION_VALIDITY_IN_FUTURE:
@@ -1339,7 +1339,7 @@ phase_generate_reply_error (
wc->rc->connection,
wc->error.details.denom_h,
TALER_EC_EXCHANGE_GENERIC_DENOMINATION_VALIDITY_IN_FUTURE,
- NULL));
+ "WITHDRAW"));
break;
case WITHDRAW_ERROR_DENOMINATION_REVOKED: