fix #7744
This commit is contained in:
parent
21c9dae382
commit
890c962817
@ -1 +1 @@
|
|||||||
Subproject commit 02132ededc12a0a1cfd81f0ca76c384304e15259
|
Subproject commit 1ec4596bf4925ee24fc06d3e74d2a553b8239870
|
@ -3616,6 +3616,7 @@ TEH_keys_management_get_keys_handler (const struct TEH_RequestHandler *rh,
|
|||||||
if ( (GNUNET_is_zero (&denom_rsa_sm_pub)) &&
|
if ( (GNUNET_is_zero (&denom_rsa_sm_pub)) &&
|
||||||
(GNUNET_is_zero (&denom_cs_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,
|
return TALER_MHD_reply_with_error (connection,
|
||||||
MHD_HTTP_BAD_GATEWAY,
|
MHD_HTTP_BAD_GATEWAY,
|
||||||
TALER_EC_EXCHANGE_DENOMINATION_HELPER_UNAVAILABLE,
|
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,
|
TALER_EC_EXCHANGE_SIGNKEY_HELPER_UNAVAILABLE,
|
||||||
NULL);
|
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.denoms);
|
||||||
GNUNET_assert (NULL != fbc.signkeys);
|
GNUNET_assert (NULL != fbc.signkeys);
|
||||||
GNUNET_CONTAINER_multihashmap_iterate (ksh->helpers->denom_keys,
|
GNUNET_CONTAINER_multihashmap_iterate (ksh->helpers->denom_keys,
|
||||||
|
Loading…
Reference in New Issue
Block a user