gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-challenger] 04/24: small changes to logs and db function names


From: gnunet
Subject: [taler-challenger] 04/24: small changes to logs and db function names
Date: Mon, 16 Sep 2024 13:25:53 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository challenger.

commit e770e18dd229379e0289b1afa07af52f71e79e43
Author: Bohdan Potuzhnyi <potub1@bfh.ch>
AuthorDate: Sat Aug 10 16:54:30 2024 +0200

    small changes to logs and db function names
---
 src/challenger/challenger-httpd_token.c    | 4 ++--
 src/challengerdb/pg_authorize_start_pkce.c | 2 +-
 src/challengerdb/pg_validation_get_pkce.c  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/challenger/challenger-httpd_token.c 
b/src/challenger/challenger-httpd_token.c
index 196c247..f9cb748 100644
--- a/src/challenger/challenger-httpd_token.c
+++ b/src/challenger/challenger-httpd_token.c
@@ -387,7 +387,7 @@ CH_handler_token (struct CH_HandlerContext *hc,
         hc->connection,
         MHD_HTTP_INTERNAL_SERVER_ERROR,
         TALER_EC_GENERIC_DB_FETCH_FAILED,
-        "validation_get");
+        "validation_get_pkce");
     case GNUNET_DB_STATUS_SOFT_ERROR:
       GNUNET_break (0);
       return MHD_NO;
@@ -398,7 +398,7 @@ CH_handler_token (struct CH_HandlerContext *hc,
         MHD_HTTP_UNAUTHORIZED,
         "invalid_grant",
         TALER_EC_CHALLENGER_GENERIC_VALIDATION_UNKNOWN,
-        "validation_get");
+        "validation_get_pkce");
     case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT:
       break;
     }
diff --git a/src/challengerdb/pg_authorize_start_pkce.c 
b/src/challengerdb/pg_authorize_start_pkce.c
index 66f8916..2822428 100644
--- a/src/challengerdb/pg_authorize_start_pkce.c
+++ b/src/challengerdb/pg_authorize_start_pkce.c
@@ -82,7 +82,7 @@ CH_PG_authorize_start_pkce (void *cls,
 
   *last_address = NULL;
   PREPARE (pg,
-           "authorize_start_validation",
+           "authorize_start_validation_pkce",
            "UPDATE validations SET"
            "  client_scope=$3"
            " ,client_state=$4"
diff --git a/src/challengerdb/pg_validation_get_pkce.c 
b/src/challengerdb/pg_validation_get_pkce.c
index e87666e..673c4bb 100644
--- a/src/challengerdb/pg_validation_get_pkce.c
+++ b/src/challengerdb/pg_validation_get_pkce.c
@@ -74,7 +74,7 @@ CH_PG_validation_get_pkce (void *cls,
   *client_state = NULL;
   *address = NULL;
   PREPARE (pg,
-           "validation_get",
+           "validation_get_pkce",
            "SELECT "
            "  client_secret"
            " ,address"

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]