diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-04-18 00:09:08 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-04-18 00:09:08 +0200 |
commit | 9637844a8f73b3674bfad6bd5cd5f95fd20c0e17 (patch) | |
tree | 1b8ddd8c803a203093aa0b375b9ef3b9b361862c /src/mint/taler-mint-httpd.c | |
parent | cc469049767590884f6f8520358c252c94201c5a (diff) | |
download | exchange-9637844a8f73b3674bfad6bd5cd5f95fd20c0e17.tar.gz exchange-9637844a8f73b3674bfad6bd5cd5f95fd20c0e17.tar.bz2 exchange-9637844a8f73b3674bfad6bd5cd5f95fd20c0e17.zip |
implementing /test/rsa
Diffstat (limited to 'src/mint/taler-mint-httpd.c')
-rw-r--r-- | src/mint/taler-mint-httpd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd.c b/src/mint/taler-mint-httpd.c index 32bad4048..c61d57985 100644 --- a/src/mint/taler-mint-httpd.c +++ b/src/mint/taler-mint-httpd.c @@ -224,6 +224,13 @@ handle_mhd_request (void *cls, { "/test/eddsa", NULL, "text/plain", "Only POST is allowed", 0, &TMH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED }, + + { "/test/rsa", MHD_HTTP_METHOD_POST, "application/json", + NULL, 0, + &TMH_TEST_handler_test_rsa, MHD_HTTP_OK }, + { "/test/rsa", NULL, "text/plain", + "Only POST is allowed", 0, + &TMH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED }, #endif { NULL, NULL, NULL, NULL, 0, 0 } |