From: Schanzenbach, Martin Date: Sat, 8 Jul 2017 18:19:12 +0000 (+0200) Subject: -fix X-Git-Tag: gnunet-0.11.0rc0~24^2~75 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=de6c96ec6b0893346987ca4edc9abb89705dcfe6;p=oweals%2Fgnunet.git -fix --- diff --git a/src/identity-provider/gnunet-service-identity-provider.c b/src/identity-provider/gnunet-service-identity-provider.c index 3a7a6eeb9..4194aabc4 100644 --- a/src/identity-provider/gnunet-service-identity-provider.c +++ b/src/identity-provider/gnunet-service-identity-provider.c @@ -514,7 +514,7 @@ serialize_abe_keyinfo (const struct IssueHandle *handle, ssize_t enc_size; size = GNUNET_CRYPTO_cpabe_serialize_key (rp_key, - &serialized_key); + (void**)&serialized_key); buf = GNUNET_malloc (strlen (handle->scopes) + 1 + size); GNUNET_memcpy (buf, handle->scopes, @@ -523,6 +523,7 @@ serialize_abe_keyinfo (const struct IssueHandle *handle, serialized_key, size); // ECDH keypair E = eG + ecdh_pubkey = NULL; *ecdh_privkey = GNUNET_CRYPTO_ecdhe_key_create(); GNUNET_CRYPTO_ecdhe_key_get_public (*ecdh_privkey, ecdh_pubkey);