gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: update


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: update
Date: Thu, 27 Sep 2018 19:58:37 +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 677839b3a update
677839b3a is described below

commit 677839b3a5c414628ae1ff1da10ceb2c6aaabcb4
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Thu Sep 27 19:58:35 2018 +0200

    update
---
 src/rest-plugins/Makefile.am                  |  3 ---
 src/rest-plugins/plugin_rest_openid_connect.c | 24 ------------------------
 2 files changed, 27 deletions(-)

diff --git a/src/rest-plugins/Makefile.am b/src/rest-plugins/Makefile.am
index a9096b255..f119ea9b6 100644
--- a/src/rest-plugins/Makefile.am
+++ b/src/rest-plugins/Makefile.am
@@ -49,8 +49,6 @@ libgnunet_plugin_rest_credential_la_LIBADD = \
   $(top_builddir)/src/credential/libgnunetcredential.la \
        $(top_builddir)/src/rest/libgnunetrest.la \
        $(top_builddir)/src/identity/libgnunetidentity.la \
-       $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \
-  $(top_builddir)/src/jsonapi/libgnunetjsonapiutils.la \
   $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \
   $(LTLIBINTL) -ljansson -lmicrohttpd
 libgnunet_plugin_rest_credential_la_LDFLAGS = \
@@ -121,7 +119,6 @@ libgnunet_plugin_rest_openid_connect_la_LIBADD = \
        $(top_builddir)/src/identity/libgnunetidentity.la \
        $(top_builddir)/src/reclaim/libgnunetreclaim.la \
        $(top_builddir)/src/rest/libgnunetrest.la \
-       $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \
        $(top_builddir)/src/reclaim-attribute/libgnunetreclaimattribute.la \
        $(top_builddir)/src/namestore/libgnunetnamestore.la \
 $(top_builddir)/src/gns/libgnunetgns.la \
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 @@
 #define GNUNET_REST_API_NS_LOGIN "/openid/login"
 
 /**
- * Attribute key
- */
-#define GNUNET_REST_JSONAPI_RECLAIM_ATTRIBUTE "attribute"
-
-/**
- * Ticket key
- */
-#define GNUNET_REST_JSONAPI_IDENTITY_TICKET "ticket"
-
-
-/**
- * Value key
- */
-#define GNUNET_REST_JSONAPI_RECLAIM_ATTRIBUTE_VALUE "value"
-
-/**
  * State while collecting all egos
  */
 #define ID_REST_STATE_INIT 0
@@ -449,11 +433,6 @@ struct RequestHandle
    */
   int response_code;
 
-  /**
-   * Response object
-   */
-  struct GNUNET_JSONAPI_Document *resp_object;
-
 };
 
 /**
@@ -469,8 +448,6 @@ cleanup_handle (struct RequestHandle *handle)
   struct EgoEntry *ego_tmp;
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Cleaning up\n");
-  if (NULL != handle->resp_object)
-    GNUNET_JSONAPI_document_delete (handle->resp_object);
   if (NULL != handle->timeout_task)
     GNUNET_SCHEDULER_cancel (handle->timeout_task);
   if (NULL != handle->identity_handle)
@@ -1077,7 +1054,6 @@ login_check (void *cls)
         {
           handle->priv_key = *GNUNET_IDENTITY_ego_get_private_key (
                                                                    
handle->ego_entry->ego);
-          handle->resp_object = GNUNET_JSONAPI_document_new ();
           handle->idp = GNUNET_RECLAIM_connect (cfg);
           handle->attr_list = GNUNET_new(
                                          struct 
GNUNET_RECLAIM_ATTRIBUTE_ClaimList);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]