summaryrefslogtreecommitdiff
path: root/src/credential
diff options
context:
space:
mode:
Diffstat (limited to 'src/credential')
-rw-r--r--src/credential/Makefile.am1
-rw-r--r--src/credential/plugin_rest_credential.c2
2 files changed, 2 insertions, 1 deletions
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)
{