summaryrefslogtreecommitdiff
path: root/src/credential
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2016-12-19 11:55:26 +0100
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2016-12-19 11:55:26 +0100
commit8ce40b5e7381b44c847dedc0d1fd1ec4e56ba856 (patch)
tree03a477c7b17f503650c782c89bd0432a44f5277c /src/credential
parent33e847bf4edc06be68589467d0f6a31c07d911ac (diff)
-fix rest issue
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)
{