From 8ce40b5e7381b44c847dedc0d1fd1ec4e56ba856 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Mon, 19 Dec 2016 11:55:26 +0100 Subject: -fix rest issue --- src/credential/Makefile.am | 1 + src/credential/plugin_rest_credential.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/credential') diff --git a/src/credential/Makefile.am b/src/credential/Makefile.am index 0d9aed71b..db3bc8027 100644 --- a/src/credential/Makefile.am +++ b/src/credential/Makefile.am @@ -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) \ diff --git a/src/credential/plugin_rest_credential.c b/src/credential/plugin_rest_credential.c index 2df65d7ad..651de0075 100644 --- a/src/credential/plugin_rest_credential.c +++ b/src/credential/plugin_rest_credential.c @@ -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) { -- cgit v1.2.3