diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/json/json_helper.c | 1 | ||||
-rw-r--r-- | src/reclaim/plugin_rest_openid_connect.c | 28 |
2 files changed, 15 insertions, 14 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c index 39949819f..aadc6804d 100644 --- a/src/json/json_helper.c +++ b/src/json/json_helper.c | |||
@@ -137,6 +137,7 @@ parse_fixed64_data (void *cls, | |||
137 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 137 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
138 | "Field `%s' has wrong length\n", | 138 | "Field `%s' has wrong length\n", |
139 | spec->field); | 139 | spec->field); |
140 | GNUNET_free (output); | ||
140 | return GNUNET_SYSERR; | 141 | return GNUNET_SYSERR; |
141 | } | 142 | } |
142 | memcpy (spec->ptr, | 143 | memcpy (spec->ptr, |
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index 8eb30aded..7ab603768 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c | |||
@@ -2168,27 +2168,27 @@ token_endpoint (struct GNUNET_REST_RequestHandle *con_handle, | |||
2168 | void *cls) | 2168 | void *cls) |
2169 | { | 2169 | { |
2170 | struct RequestHandle *handle = cls; | 2170 | struct RequestHandle *handle = cls; |
2171 | const struct EgoEntry *ego_entry; | 2171 | const struct EgoEntry *ego_entry = NULL; |
2172 | struct GNUNET_TIME_Relative expiration_time; | 2172 | struct GNUNET_TIME_Relative expiration_time; |
2173 | struct GNUNET_RECLAIM_AttributeList *cl = NULL; | 2173 | struct GNUNET_RECLAIM_AttributeList *cl = NULL; |
2174 | struct GNUNET_RECLAIM_PresentationList *pl = NULL; | 2174 | struct GNUNET_RECLAIM_PresentationList *pl = NULL; |
2175 | struct GNUNET_RECLAIM_Ticket ticket; | 2175 | struct GNUNET_RECLAIM_Ticket ticket; |
2176 | struct GNUNET_IDENTITY_PublicKey cid; | 2176 | struct GNUNET_IDENTITY_PublicKey cid; |
2177 | struct GNUNET_HashCode cache_key; | 2177 | struct GNUNET_HashCode cache_key; |
2178 | struct MHD_Response *resp; | 2178 | struct MHD_Response *resp = NULL; |
2179 | char *grant_type; | 2179 | char *grant_type = NULL; |
2180 | char *code; | 2180 | char *code = NULL; |
2181 | char *json_response; | 2181 | char *json_response = NULL; |
2182 | char *id_token; | 2182 | char *id_token = NULL; |
2183 | char *access_token; | 2183 | char *access_token = NULL; |
2184 | char *jwa; | 2184 | char *jwa = NULL; |
2185 | char *jwt_secret; | 2185 | char *jwt_secret = NULL; |
2186 | char *nonce = NULL; | 2186 | char *nonce = NULL; |
2187 | char *code_verifier; | 2187 | char *code_verifier = NULL; |
2188 | json_t *oidc_jwk; | 2188 | json_t *oidc_jwk = NULL; |
2189 | char *oidc_jwk_path; | 2189 | char *oidc_jwk_path = NULL; |
2190 | char *oidc_directory; | 2190 | char *oidc_directory = NULL; |
2191 | char *tmp_at; | 2191 | char *tmp_at = NULL; |
2192 | 2192 | ||
2193 | /* | 2193 | /* |
2194 | * Check Authorization | 2194 | * Check Authorization |