diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-20 16:08:08 +0200 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-20 16:08:08 +0200 |
commit | 74a80d549aef8452b1040ea69d7c1274679f7338 (patch) | |
tree | 166cfdfb5ba054f07bf7e84522505923018bbd43 | |
parent | 89d66eee292de95c1ee686496f39cef2aa03a390 (diff) | |
download | gnunet-74a80d549aef8452b1040ea69d7c1274679f7338.tar.gz gnunet-74a80d549aef8452b1040ea69d7c1274679f7338.zip |
fix
-rw-r--r-- | src/reclaim/plugin_rest_openid_connect.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index 9b7cf0205..3e53a2836 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c | |||
@@ -749,7 +749,7 @@ login_redirection(void *cls) | |||
749 | struct RequestHandle *handle = cls; | 749 | struct RequestHandle *handle = cls; |
750 | 750 | ||
751 | if ( GNUNET_OK | 751 | if ( GNUNET_OK |
752 | == GNUNET_CONFIGURATION_get_value_string (cfg, "identity-rest-plugin", | 752 | == GNUNET_CONFIGURATION_get_value_string (cfg, "reclaim-rest-plugin", |
753 | "address", &login_base_url) ) | 753 | "address", &login_base_url) ) |
754 | { | 754 | { |
755 | GNUNET_asprintf (&new_redirect, "%s?%s=%s&%s=%s&%s=%s&%s=%s&%s=%s&%s=%s", | 755 | GNUNET_asprintf (&new_redirect, "%s?%s=%s&%s=%s&%s=%s&%s=%s&%s=%s&%s=%s", |
@@ -1373,7 +1373,7 @@ token_endpoint (struct GNUNET_REST_RequestHandle *con_handle, | |||
1373 | 1373 | ||
1374 | //check client password | 1374 | //check client password |
1375 | if ( GNUNET_OK | 1375 | if ( GNUNET_OK |
1376 | == GNUNET_CONFIGURATION_get_value_string (cfg, "identity-rest-plugin", | 1376 | == GNUNET_CONFIGURATION_get_value_string (cfg, "reclaim-rest-plugin", |
1377 | "psw", &expected_psw) ) | 1377 | "psw", &expected_psw) ) |
1378 | { | 1378 | { |
1379 | if (0 != strcmp (expected_psw, psw)) | 1379 | if (0 != strcmp (expected_psw, psw)) |
@@ -1543,7 +1543,7 @@ token_endpoint (struct GNUNET_REST_RequestHandle *con_handle, | |||
1543 | //create jwt | 1543 | //create jwt |
1544 | unsigned long long int expiration_time; | 1544 | unsigned long long int expiration_time; |
1545 | if ( GNUNET_OK | 1545 | if ( GNUNET_OK |
1546 | != GNUNET_CONFIGURATION_get_value_number(cfg, "identity-rest-plugin", | 1546 | != GNUNET_CONFIGURATION_get_value_number(cfg, "reclaim-rest-plugin", |
1547 | "expiration_time", &expiration_time) ) | 1547 | "expiration_time", &expiration_time) ) |
1548 | { | 1548 | { |
1549 | GNUNET_free_non_null(user_psw); | 1549 | GNUNET_free_non_null(user_psw); |
@@ -1620,7 +1620,7 @@ token_endpoint (struct GNUNET_REST_RequestHandle *con_handle, | |||
1620 | return; | 1620 | return; |
1621 | } | 1621 | } |
1622 | if ( GNUNET_OK | 1622 | if ( GNUNET_OK |
1623 | != GNUNET_CONFIGURATION_get_value_string (cfg, "identity-rest-plugin", | 1623 | != GNUNET_CONFIGURATION_get_value_string (cfg, "reclaim-rest-plugin", |
1624 | "jwt_secret", &jwt_secret) ) | 1624 | "jwt_secret", &jwt_secret) ) |
1625 | { | 1625 | { |
1626 | GNUNET_free_non_null(user_psw); | 1626 | GNUNET_free_non_null(user_psw); |