From: Schanzenbach, Martin Date: Mon, 19 Dec 2016 10:55:26 +0000 (+0100) Subject: -fix rest issue X-Git-Tag: gnunet-0.11.0rc0~24^2~105 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8ce40b5e7381b44c847dedc0d1fd1ec4e56ba856;p=oweals%2Fgnunet.git -fix rest issue --- 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) {