-fix rest issue
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Mon, 19 Dec 2016 10:55:26 +0000 (11:55 +0100)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Mon, 19 Dec 2016 10:55:26 +0000 (11:55 +0100)
src/credential/Makefile.am
src/credential/plugin_rest_credential.c

index 0d9aed71b41b50250590803d9be73adeccd986fd..db3bc80274cd45a876800e10a254a26db1581fa7 100644 (file)
@@ -88,6 +88,7 @@ libgnunet_plugin_rest_credential_la_SOURCES = \
 libgnunet_plugin_rest_credential_la_LIBADD = \
   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) \
index 2df65d7ad4931ea38b83f80eb6981f982b8b2bce..651de0075d91cabfd217d2b46a09de619182c1b3 100644 (file)
@@ -512,7 +512,7 @@ send_cred_response (struct RequestHandle *handle,
   char *signature;
   char *id;
 
-  GNUNET_assert (NULL == cred);
+  GNUNET_assert (NULL != cred);
   issuer = GNUNET_CRYPTO_ecdsa_public_key_to_string (&cred->issuer_key);
   if (NULL == issuer)
   {