diff options
Diffstat (limited to 'src/reclaim/plugin_rest_openid_connect.c')
-rw-r--r-- | src/reclaim/plugin_rest_openid_connect.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index 8d21a5c99..698dbfe18 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c | |||
@@ -2020,7 +2020,7 @@ token_endpoint (struct GNUNET_REST_RequestHandle *con_handle, | |||
2020 | char *id_token; | 2020 | char *id_token; |
2021 | char *access_token; | 2021 | char *access_token; |
2022 | char *jwt_secret; | 2022 | char *jwt_secret; |
2023 | char *nonce; | 2023 | char *nonce = NULL; |
2024 | char *code_verifier; | 2024 | char *code_verifier; |
2025 | 2025 | ||
2026 | /* | 2026 | /* |
@@ -2465,12 +2465,11 @@ list_ego (void *cls, | |||
2465 | struct EgoEntry *ego_entry; | 2465 | struct EgoEntry *ego_entry; |
2466 | struct GNUNET_IDENTITY_PublicKey pk; | 2466 | struct GNUNET_IDENTITY_PublicKey pk; |
2467 | 2467 | ||
2468 | if ((NULL == ego) && (ID_REST_STATE_INIT == state)) | 2468 | if (NULL == ego) |
2469 | { | 2469 | { |
2470 | state = ID_REST_STATE_POST_INIT; | 2470 | state = ID_REST_STATE_POST_INIT; |
2471 | return; | 2471 | return; |
2472 | } | 2472 | } |
2473 | GNUNET_assert (NULL != ego); | ||
2474 | if (ID_REST_STATE_INIT == state) | 2473 | if (ID_REST_STATE_INIT == state) |
2475 | 2474 | ||
2476 | { | 2475 | { |