diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-04-21 21:04:33 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-04-21 21:04:33 +0200 |
commit | 582acc3cf31adf4919c726aa811c9988adb92c02 (patch) | |
tree | 43bd1637ed1360dac1b16689cb54e5196559089a /src/exchange/taler-exchange-httpd_deposit.c | |
parent | c3e67dfc6b32b009380b2b24f6d4c6eb2d775177 (diff) | |
download | exchange-582acc3cf31adf4919c726aa811c9988adb92c02.tar.gz exchange-582acc3cf31adf4919c726aa811c9988adb92c02.tar.bz2 exchange-582acc3cf31adf4919c726aa811c9988adb92c02.zip |
add taler-exchange-httpd_reserves_purse.c to build
Diffstat (limited to 'src/exchange/taler-exchange-httpd_deposit.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_deposit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_deposit.c b/src/exchange/taler-exchange-httpd_deposit.c index 0ce5add33..7ca56e104 100644 --- a/src/exchange/taler-exchange-httpd_deposit.c +++ b/src/exchange/taler-exchange-httpd_deposit.c @@ -393,7 +393,7 @@ TEH_handler_deposit (struct MHD_Connection *connection, TALER_LOG_WARNING ("Invalid coin passed for /deposit\n"); GNUNET_JSON_parse_free (spec); return TALER_MHD_reply_with_error (connection, - MHD_HTTP_UNAUTHORIZED, + MHD_HTTP_FORBIDDEN, TALER_EC_EXCHANGE_DENOMINATION_SIGNATURE_INVALID, NULL); } @@ -427,7 +427,7 @@ TEH_handler_deposit (struct MHD_Connection *connection, TALER_LOG_WARNING ("Invalid signature on /deposit request\n"); GNUNET_JSON_parse_free (spec); return TALER_MHD_reply_with_error (connection, - MHD_HTTP_UNAUTHORIZED, + MHD_HTTP_FORBIDDEN, TALER_EC_EXCHANGE_DEPOSIT_COIN_SIGNATURE_INVALID, NULL); } |