aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/json/json_generator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json/json_generator.c b/src/json/json_generator.c
index 9b2fb7fbb..dd875871e 100644
--- a/src/json/json_generator.c
+++ b/src/json/json_generator.c
@@ -166,7 +166,7 @@ GNUNET_JSON_from_time_rel (struct GNUNET_TIME_Relative stamp)
166json_t * 166json_t *
167GNUNET_JSON_from_rsa_public_key (const struct GNUNET_CRYPTO_RsaPublicKey *pk) 167GNUNET_JSON_from_rsa_public_key (const struct GNUNET_CRYPTO_RsaPublicKey *pk)
168{ 168{
169 char *buf; 169 void *buf;
170 size_t buf_len; 170 size_t buf_len;
171 json_t *ret; 171 json_t *ret;
172 172
@@ -188,7 +188,7 @@ GNUNET_JSON_from_rsa_public_key (const struct GNUNET_CRYPTO_RsaPublicKey *pk)
188json_t * 188json_t *
189GNUNET_JSON_from_rsa_signature (const struct GNUNET_CRYPTO_RsaSignature *sig) 189GNUNET_JSON_from_rsa_signature (const struct GNUNET_CRYPTO_RsaSignature *sig)
190{ 190{
191 char *buf; 191 void *buf;
192 size_t buf_len; 192 size_t buf_len;
193 json_t *ret; 193 json_t *ret;
194 194