This commit is contained in:
Christian Grothoff 2019-11-23 21:38:09 +01:00
parent c22efccce8
commit 4c42e7924e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
6 changed files with 7 additions and 7 deletions

View File

@ -304,8 +304,8 @@ verify_and_execute_deposit (struct MHD_Connection *connection,
{ {
TEH_KS_release (mks); TEH_KS_release (mks);
return TALER_MHD_reply_with_error (connection, return TALER_MHD_reply_with_error (connection,
ec,
hc, hc,
ec,
"Could not find denomination key used in deposit"); "Could not find denomination key used in deposit");
} }
TALER_amount_ntoh (&dc.value, TALER_amount_ntoh (&dc.value,
@ -527,8 +527,8 @@ TEH_DEPOSIT_handler_deposit (struct TEH_RequestHandler *rh,
TALER_LOG_WARNING ("Unknown denomination key in /deposit request\n"); TALER_LOG_WARNING ("Unknown denomination key in /deposit request\n");
GNUNET_JSON_parse_free (spec); GNUNET_JSON_parse_free (spec);
return TALER_MHD_reply_with_error (connection, return TALER_MHD_reply_with_error (connection,
ec,
hc, hc,
ec,
"Could not find denomination key used in deposit"); "Could not find denomination key used in deposit");
} }
TALER_amount_ntoh (&deposit.deposit_fee, TALER_amount_ntoh (&deposit.deposit_fee,

View File

@ -449,8 +449,8 @@ verify_and_execute_payback (struct MHD_Connection *connection,
TALER_LOG_WARNING ( TALER_LOG_WARNING (
"Denomination key in /payback request not in payback mode\n"); "Denomination key in /payback request not in payback mode\n");
return TALER_MHD_reply_with_error (connection, return TALER_MHD_reply_with_error (connection,
ec,
hc, hc,
ec,
"denomination not allowing payback"); "denomination not allowing payback");
} }
TALER_amount_ntoh (&pc.value, TALER_amount_ntoh (&pc.value,

View File

@ -585,8 +585,8 @@ TEH_REFRESH_handler_refresh_melt (struct TEH_RequestHandler *rh,
{ {
TALER_LOG_WARNING ("Unknown denomination key in /refresh/melt request\n"); TALER_LOG_WARNING ("Unknown denomination key in /refresh/melt request\n");
res = TALER_MHD_reply_with_error (connection, res = TALER_MHD_reply_with_error (connection,
ec,
hc, hc,
ec,
"unknown denomination"); "unknown denomination");
goto cleanup; goto cleanup;
} }

View File

@ -645,8 +645,8 @@ handle_refresh_reveal_json (struct MHD_Connection *connection,
{ {
TEH_KS_release (key_state); TEH_KS_release (key_state);
return TALER_MHD_reply_with_error (connection, return TALER_MHD_reply_with_error (connection,
ec,
hc, hc,
ec,
"failed to find denomination key"); "failed to find denomination key");
} }
GNUNET_assert (NULL != dkis[i]->denom_priv.rsa_private_key); GNUNET_assert (NULL != dkis[i]->denom_priv.rsa_private_key);

View File

@ -372,8 +372,8 @@ refund_transaction (void *cls,
TEH_plugin->free_coin_transaction_list (TEH_plugin->cls, TEH_plugin->free_coin_transaction_list (TEH_plugin->cls,
tl); tl);
*mhd_ret = TALER_MHD_reply_with_error (connection, *mhd_ret = TALER_MHD_reply_with_error (connection,
ec,
hc, hc,
ec,
"denomination not found, but coin known"); "denomination not found, but coin known");
return GNUNET_DB_STATUS_HARD_ERROR; return GNUNET_DB_STATUS_HARD_ERROR;
} }

View File

@ -429,8 +429,8 @@ TEH_RESERVE_handler_reserve_withdraw (struct TEH_RequestHandler *rh,
GNUNET_JSON_parse_free (spec); GNUNET_JSON_parse_free (spec);
TEH_KS_release (wc.key_state); TEH_KS_release (wc.key_state);
return TALER_MHD_reply_with_error (connection, return TALER_MHD_reply_with_error (connection,
ec,
hc, hc,
ec,
"could not find denomination key"); "could not find denomination key");
} }
GNUNET_assert (NULL != wc.dki->denom_priv.rsa_private_key); GNUNET_assert (NULL != wc.dki->denom_priv.rsa_private_key);