aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto_ecc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c
index 237062eb7..fcc8efa2c 100644
--- a/src/util/crypto_ecc.c
+++ b/src/util/crypto_ecc.c
@@ -847,9 +847,9 @@ GNUNET_CRYPTO_eddsa_verify (
847 const struct GNUNET_CRYPTO_EddsaSignature *sig, 847 const struct GNUNET_CRYPTO_EddsaSignature *sig,
848 const struct GNUNET_CRYPTO_EddsaPublicKey *pub) 848 const struct GNUNET_CRYPTO_EddsaPublicKey *pub)
849{ 849{
850 unsigned char *m = (void *) validate; 850 const unsigned char *m = (const void *) validate;
851 size_t mlen = ntohl (validate->size); 851 size_t mlen = ntohl (validate->size);
852 unsigned char *s = (void *) sig; 852 const unsigned char *s = (const void *) sig;
853 853
854 int res; 854 int res;
855 855