challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

commit 906d8aeaa0d8cfdb41c3094694d87a13f69308cf
parent 94418bab99a0fc7a0aeec8710d79dbfb88058abe
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sat, 10 Aug 2024 15:05:12 +0200

-fix compiler warning

Diffstat:
Msrc/challenger/challenger-httpd_authorize.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/challenger/challenger-httpd_authorize.c b/src/challenger/challenger-httpd_authorize.c @@ -235,9 +235,9 @@ CH_handler_authorize (struct CH_HandlerContext *hc, } if (0 == CH_get_output_type (hc->connection)) { - const char *prev_full_url = hc->full_url; - + char *prev_full_url = hc->full_url; const char *rparams = strchr (hc->full_url, '?'); + if (NULL == rparams) GNUNET_asprintf (&hc->full_url, "%s?nonce=%s", @@ -259,7 +259,6 @@ CH_handler_authorize (struct CH_HandlerContext *hc, return CH_spa_redirect (hc, NULL, 0); } { - enum GNUNET_GenericReturnValue ret; json_t *args; struct MHD_Response *resp; MHD_RESULT res;