From eccfb8e81d488dade09dc4df8a981accd50c6d06 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Sun, 9 Jul 2017 15:34:46 +0200 Subject: [PATCH] -fix --- src/include/gnunet_crypto_lib.h | 4 ++-- src/util/crypto_abe.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index d5891bb04..4d00103ab 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h @@ -2190,7 +2190,7 @@ GNUNET_CRYPTO_cpabe_serialize_key (const struct GNUNET_CRYPTO_AbeKey *key, void **result); struct GNUNET_CRYPTO_AbeKey* -GNUNET_CRYPTO_cpabe_deserialize_key (void *data, +GNUNET_CRYPTO_cpabe_deserialize_key (const void *data, size_t len); ssize_t @@ -2198,7 +2198,7 @@ GNUNET_CRYPTO_cpabe_serialize_master_key (const struct GNUNET_CRYPTO_AbeMasterKe void **result); struct GNUNET_CRYPTO_AbeMasterKey* -GNUNET_CRYPTO_cpabe_deserialize_master_key (void *data, +GNUNET_CRYPTO_cpabe_deserialize_master_key (const void *data, size_t len); diff --git a/src/util/crypto_abe.c b/src/util/crypto_abe.c index 61d448577..38812b412 100644 --- a/src/util/crypto_abe.c +++ b/src/util/crypto_abe.c @@ -317,7 +317,7 @@ GNUNET_CRYPTO_cpabe_serialize_key (const struct GNUNET_CRYPTO_AbeKey *key, } struct GNUNET_CRYPTO_AbeKey* -GNUNET_CRYPTO_cpabe_deserialize_key (void *data, +GNUNET_CRYPTO_cpabe_deserialize_key (const void *data, size_t len) { struct GNUNET_CRYPTO_AbeKey *key; @@ -341,7 +341,7 @@ GNUNET_CRYPTO_cpabe_serialize_master_key (const struct GNUNET_CRYPTO_AbeMasterKe } struct GNUNET_CRYPTO_AbeMasterKey* -GNUNET_CRYPTO_cpabe_deserialize_master_key (void *data, +GNUNET_CRYPTO_cpabe_deserialize_master_key (const void *data, size_t len) { struct GNUNET_CRYPTO_AbeMasterKey *key; -- 2.25.1