diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-03-08 12:01:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-03-08 12:01:07 +0100 |
commit | 890c9628177ee394d655e081361b2570db05827f (patch) | |
tree | 08229af3dfdbeed3fd4db31f70d730f3eb193490 /src | |
parent | 21c9dae382bb189a640e0e588eadfc80b1fb2563 (diff) | |
download | exchange-890c9628177ee394d655e081361b2570db05827f.tar.xz |
fix #7744
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index ce86e9515..d73283509 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -3616,6 +3616,7 @@ TEH_keys_management_get_keys_handler (const struct TEH_RequestHandler *rh, if ( (GNUNET_is_zero (&denom_rsa_sm_pub)) && (GNUNET_is_zero (&denom_cs_sm_pub)) ) { + /* Either IPC failed, or neither helper had any denominations configured. */ return TALER_MHD_reply_with_error (connection, MHD_HTTP_BAD_GATEWAY, TALER_EC_EXCHANGE_DENOMINATION_HELPER_UNAVAILABLE, @@ -3628,7 +3629,6 @@ TEH_keys_management_get_keys_handler (const struct TEH_RequestHandler *rh, TALER_EC_EXCHANGE_SIGNKEY_HELPER_UNAVAILABLE, NULL); } - // then a secmod helper is not yet running and we should return an MHD_HTTP_BAD_GATEWAY! GNUNET_assert (NULL != fbc.denoms); GNUNET_assert (NULL != fbc.signkeys); GNUNET_CONTAINER_multihashmap_iterate (ksh->helpers->denom_keys, |