[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix |
Date: |
Fri, 28 Sep 2018 08:34:04 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 6b4ba60da fix
6b4ba60da is described below
commit 6b4ba60da04f3fd799007b3f1890bf156a60d406
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Fri Sep 28 08:33:58 2018 +0200
fix
---
src/rest-plugins/plugin_rest_openid_connect.c | 5 -----
src/rest-plugins/plugin_rest_reclaim.c | 1 +
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/rest-plugins/plugin_rest_openid_connect.c
b/src/rest-plugins/plugin_rest_openid_connect.c
index 6456458a6..2bb60efce 100644
--- a/src/rest-plugins/plugin_rest_openid_connect.c
+++ b/src/rest-plugins/plugin_rest_openid_connect.c
@@ -1381,7 +1381,6 @@ check_authorization (struct RequestHandle *handle,
if (0 != strcmp ("Basic", credentials))
{
handle->emsg=GNUNET_strdup("invalid_client");
- handle->edesc = GNUNET_strdup ("1");
handle->response_code = MHD_HTTP_UNAUTHORIZED;
return GNUNET_SYSERR;
}
@@ -1389,7 +1388,6 @@ check_authorization (struct RequestHandle *handle,
if (NULL == credentials)
{
handle->emsg=GNUNET_strdup("invalid_client");
- handle->edesc = GNUNET_strdup ("2");
handle->response_code = MHD_HTTP_UNAUTHORIZED;
return GNUNET_SYSERR;
}
@@ -1408,7 +1406,6 @@ check_authorization (struct RequestHandle *handle,
{
GNUNET_free_non_null(basic_authorization);
handle->emsg=GNUNET_strdup("invalid_client");
- handle->edesc = GNUNET_strdup ("Wrong username");
handle->response_code = MHD_HTTP_UNAUTHORIZED;
return GNUNET_SYSERR;
}
@@ -1417,7 +1414,6 @@ check_authorization (struct RequestHandle *handle,
{
GNUNET_free_non_null(basic_authorization);
handle->emsg=GNUNET_strdup("invalid_client");
- handle->edesc = GNUNET_strdup (client_id);
handle->response_code = MHD_HTTP_UNAUTHORIZED;
return GNUNET_SYSERR;
}
@@ -1431,7 +1427,6 @@ check_authorization (struct RequestHandle *handle,
{
GNUNET_free_non_null(basic_authorization);
GNUNET_free(expected_pass);
- handle->edesc = GNUNET_strdup (pass);
handle->emsg=GNUNET_strdup("invalid_client");
handle->response_code = MHD_HTTP_UNAUTHORIZED;
return GNUNET_SYSERR;
diff --git a/src/rest-plugins/plugin_rest_reclaim.c
b/src/rest-plugins/plugin_rest_reclaim.c
index 208c7470e..ccc2d894b 100644
--- a/src/rest-plugins/plugin_rest_reclaim.c
+++ b/src/rest-plugins/plugin_rest_reclaim.c
@@ -587,6 +587,7 @@ add_attribute_cont (struct GNUNET_REST_RequestHandle
*con_handle,
return;
}
handle->idp = GNUNET_RECLAIM_connect (cfg);
+ exp = GNUNET_TIME_UNIT_HOURS;
handle->idp_op = GNUNET_RECLAIM_attribute_store (handle->idp,
identity_priv,
attribute,
--
To stop receiving notification emails like this one, please contact
address@hidden