[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.
- [taler-challenger] branch master updated (3f892c8 -> 208ab47), gnunet, 2024/09/16
- [taler-challenger] 05/24: small update of logs for authorize.c, gnunet, 2024/09/16
- [taler-challenger] 04/24: small changes to logs and db function names,
gnunet <=
- [taler-challenger] 02/24: in theory done, but needs live testing and adjustments, gnunet, 2024/09/16
- [taler-challenger] 03/24: base64 less strange now, still needs check for a normal way, gnunet, 2024/09/16
- [taler-challenger] 09/24: happy path pkce tests added, gnunet, 2024/09/16
- [taler-challenger] 01/24: db part is done(new approach), gnunet, 2024/09/16
- [taler-challenger] 08/24: tests for pkce added, gnunet, 2024/09/16
- [taler-challenger] 07/24: small db validation_get.c update, gnunet, 2024/09/16
- [taler-challenger] 18/24: code cleaning and styling, gnunet, 2024/09/16
- [taler-challenger] 10/24: added test for the wrong code_verifier, gnunet, 2024/09/16
- [taler-challenger] 21/24: small fix, gnunet, 2024/09/16
- [taler-challenger] 22/24: small cleanup, gnunet, 2024/09/16