From 9637844a8f73b3674bfad6bd5cd5f95fd20c0e17 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 18 Apr 2015 00:09:08 +0200 Subject: implementing /test/rsa --- src/mint/taler-mint-httpd.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mint/taler-mint-httpd.c') diff --git a/src/mint/taler-mint-httpd.c b/src/mint/taler-mint-httpd.c index 32bad404..c61d5798 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 } -- cgit v1.2.3