diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2018-09-27 19:58:35 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2018-09-27 19:58:35 +0200 |
commit | 677839b3a5c414628ae1ff1da10ceb2c6aaabcb4 (patch) | |
tree | 5eac09afc59fdb7e5fa3db75ae712177f9754c97 /src/rest-plugins/plugin_rest_openid_connect.c | |
parent | 527a223f7c6a63d940b57e935cfdc130851da0fd (diff) | |
download | gnunet-677839b3a5c414628ae1ff1da10ceb2c6aaabcb4.tar.gz gnunet-677839b3a5c414628ae1ff1da10ceb2c6aaabcb4.zip |
update
Diffstat (limited to 'src/rest-plugins/plugin_rest_openid_connect.c')
-rw-r--r-- | src/rest-plugins/plugin_rest_openid_connect.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/rest-plugins/plugin_rest_openid_connect.c b/src/rest-plugins/plugin_rest_openid_connect.c index 24673c692..2bb60efce 100644 --- a/src/rest-plugins/plugin_rest_openid_connect.c +++ b/src/rest-plugins/plugin_rest_openid_connect.c | |||
@@ -66,22 +66,6 @@ | |||
66 | #define GNUNET_REST_API_NS_LOGIN "/openid/login" | 66 | #define GNUNET_REST_API_NS_LOGIN "/openid/login" |
67 | 67 | ||
68 | /** | 68 | /** |
69 | * Attribute key | ||
70 | */ | ||
71 | #define GNUNET_REST_JSONAPI_RECLAIM_ATTRIBUTE "attribute" | ||
72 | |||
73 | /** | ||
74 | * Ticket key | ||
75 | */ | ||
76 | #define GNUNET_REST_JSONAPI_IDENTITY_TICKET "ticket" | ||
77 | |||
78 | |||
79 | /** | ||
80 | * Value key | ||
81 | */ | ||
82 | #define GNUNET_REST_JSONAPI_RECLAIM_ATTRIBUTE_VALUE "value" | ||
83 | |||
84 | /** | ||
85 | * State while collecting all egos | 69 | * State while collecting all egos |
86 | */ | 70 | */ |
87 | #define ID_REST_STATE_INIT 0 | 71 | #define ID_REST_STATE_INIT 0 |
@@ -449,11 +433,6 @@ struct RequestHandle | |||
449 | */ | 433 | */ |
450 | int response_code; | 434 | int response_code; |
451 | 435 | ||
452 | /** | ||
453 | * Response object | ||
454 | */ | ||
455 | struct GNUNET_JSONAPI_Document *resp_object; | ||
456 | |||
457 | }; | 436 | }; |
458 | 437 | ||
459 | /** | 438 | /** |
@@ -469,8 +448,6 @@ cleanup_handle (struct RequestHandle *handle) | |||
469 | struct EgoEntry *ego_tmp; | 448 | struct EgoEntry *ego_tmp; |
470 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 449 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
471 | "Cleaning up\n"); | 450 | "Cleaning up\n"); |
472 | if (NULL != handle->resp_object) | ||
473 | GNUNET_JSONAPI_document_delete (handle->resp_object); | ||
474 | if (NULL != handle->timeout_task) | 451 | if (NULL != handle->timeout_task) |
475 | GNUNET_SCHEDULER_cancel (handle->timeout_task); | 452 | GNUNET_SCHEDULER_cancel (handle->timeout_task); |
476 | if (NULL != handle->identity_handle) | 453 | if (NULL != handle->identity_handle) |
@@ -1077,7 +1054,6 @@ login_check (void *cls) | |||
1077 | { | 1054 | { |
1078 | handle->priv_key = *GNUNET_IDENTITY_ego_get_private_key ( | 1055 | handle->priv_key = *GNUNET_IDENTITY_ego_get_private_key ( |
1079 | handle->ego_entry->ego); | 1056 | handle->ego_entry->ego); |
1080 | handle->resp_object = GNUNET_JSONAPI_document_new (); | ||
1081 | handle->idp = GNUNET_RECLAIM_connect (cfg); | 1057 | handle->idp = GNUNET_RECLAIM_connect (cfg); |
1082 | handle->attr_list = GNUNET_new( | 1058 | handle->attr_list = GNUNET_new( |
1083 | struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList); | 1059 | struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList); |