From: Christian Grothoff Date: Tue, 7 Apr 2020 15:43:34 +0000 (+0200) Subject: const X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=90d63f8249736f9717ca0467d4e8fb9d3d8b48b4;p=oweals%2Fgnunet.git const --- 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 ( const struct GNUNET_CRYPTO_EddsaSignature *sig, const struct GNUNET_CRYPTO_EddsaPublicKey *pub) { - unsigned char *m = (void *) validate; + const unsigned char *m = (const void *) validate; size_t mlen = ntohl (validate->size); - unsigned char *s = (void *) sig; + const unsigned char *s = (const void *) sig; int res;