summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-07 17:43:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-07 17:43:34 +0200
commit90d63f8249736f9717ca0467d4e8fb9d3d8b48b4 (patch)
tree8efcf6fe4e5c02aaee8de9f57a342e0042da915c /src/util
parent8ad820fae4cf114fa9e12490eba19730c8a8a850 (diff)
const
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 (
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;