diff options
author | Lucien Heuzeveldt <lucienclaude.heuzeveldt@students.bfh.ch> | 2022-01-06 15:55:50 +0100 |
---|---|---|
committer | Gian Demarmels <gian@demarmels.org> | 2022-02-04 15:34:19 +0100 |
commit | 82405b0ce5593b30a1b0ee1a1995f2214a71751c (patch) | |
tree | a71d2c78a344cc9e9b68e88cfdb8615f698d3383 /src/exchange/taler-exchange-httpd.c | |
parent | 36f551ff33ac0974788aff28d4b19390ca484f4b (diff) | |
download | exchange-82405b0ce5593b30a1b0ee1a1995f2214a71751c.tar.gz exchange-82405b0ce5593b30a1b0ee1a1995f2214a71751c.tar.bz2 exchange-82405b0ce5593b30a1b0ee1a1995f2214a71751c.zip |
implement CS key handling and csr endpoint
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index ae5847d11..c357813b2 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -30,6 +30,7 @@ #include <limits.h> #include "taler_mhd_lib.h" #include "taler-exchange-httpd_auditors.h" +#include "taler-exchange-httpd_csr.h" #include "taler-exchange-httpd_deposit.h" #include "taler-exchange-httpd_deposits_get.h" #include "taler-exchange-httpd_extensions.h" @@ -910,6 +911,13 @@ handle_mhd_request (void *cls, .method = MHD_HTTP_METHOD_GET, .handler.get = &TEH_handler_wire }, + /* request R, used in clause schnorr withdraw and refresh */ + { + .url = "csr", + .method = MHD_HTTP_METHOD_POST, + .handler.post = &TEH_handler_csr, + .nargs = 0 + }, /* Withdrawing coins / interaction with reserves */ { .url = "reserves", |