aboutsummaryrefslogtreecommitdiff
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
parent33e847bf4edc06be68589467d0f6a31c07d911ac (diff)
downloadgnunet-8ce40b5e7381b44c847dedc0d1fd1ec4e56ba856.tar.gz
gnunet-8ce40b5e7381b44c847dedc0d1fd1ec4e56ba856.zip
-fix rest issue
-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 = \
88libgnunet_plugin_rest_credential_la_LIBADD = \ 88libgnunet_plugin_rest_credential_la_LIBADD = \
89 libgnunetcredential.la \ 89 libgnunetcredential.la \
90 $(top_builddir)/src/rest/libgnunetrest.la \ 90 $(top_builddir)/src/rest/libgnunetrest.la \
91 $(top_builddir)/src/identity/libgnunetidentity.la \
91 $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \ 92 $(top_builddir)/src/jsonapi/libgnunetjsonapi.la \
92 $(top_builddir)/src/jsonapi/libgnunetjsonapiutils.la \ 93 $(top_builddir)/src/jsonapi/libgnunetjsonapiutils.la \
93 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) \ 94 $(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,
512 char *signature; 512 char *signature;
513 char *id; 513 char *id;
514 514
515 GNUNET_assert (NULL == cred); 515 GNUNET_assert (NULL != cred);
516 issuer = GNUNET_CRYPTO_ecdsa_public_key_to_string (&cred->issuer_key); 516 issuer = GNUNET_CRYPTO_ecdsa_public_key_to_string (&cred->issuer_key);
517 if (NULL == issuer) 517 if (NULL == issuer)
518 { 518 {