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_purses_create.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_purses_create.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_purses_create.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_purses_create.c b/src/exchange/taler-exchange-httpd_purses_create.c index 4ea8b7d2d..f4f00bb23 100644 --- a/src/exchange/taler-exchange-httpd_purses_create.c +++ b/src/exchange/taler-exchange-httpd_purses_create.c @@ -500,7 +500,7 @@ parse_coin (struct MHD_Connection *connection, GNUNET_JSON_parse_free (spec); return (MHD_YES == TALER_MHD_reply_with_error (connection, - MHD_HTTP_UNAUTHORIZED, + MHD_HTTP_FORBIDDEN, TALER_EC_EXCHANGE_PURSE_CREATE_COIN_SIGNATURE_INVALID, TEH_base_url)) ? GNUNET_NO : GNUNET_SYSERR; @@ -613,7 +613,7 @@ parse_coin (struct MHD_Connection *connection, GNUNET_JSON_parse_free (spec); return (MHD_YES == TALER_MHD_reply_with_error (connection, - MHD_HTTP_UNAUTHORIZED, + MHD_HTTP_FORBIDDEN, TALER_EC_EXCHANGE_DENOMINATION_SIGNATURE_INVALID, NULL)) ? GNUNET_NO : GNUNET_SYSERR; @@ -816,7 +816,7 @@ TEH_handler_purses_create ( GNUNET_JSON_parse_free (spec); GNUNET_free (pcc.coins); return TALER_MHD_reply_with_error (connection, - MHD_HTTP_UNAUTHORIZED, + MHD_HTTP_FORBIDDEN, TALER_EC_EXCHANGE_PURSE_CREATE_SIGNATURE_INVALID, NULL); } @@ -832,7 +832,7 @@ TEH_handler_purses_create ( GNUNET_JSON_parse_free (spec); GNUNET_free (pcc.coins); return TALER_MHD_reply_with_error (connection, - MHD_HTTP_UNAUTHORIZED, + MHD_HTTP_FORBIDDEN, TALER_EC_EXCHANGE_PURSE_ECONTRACT_SIGNATURE_INVALID, NULL); } |