projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ad820f
)
const
author
Christian Grothoff
<christian@grothoff.org>
Tue, 7 Apr 2020 15:43:34 +0000
(17:43 +0200)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 7 Apr 2020 15:43:34 +0000
(17:43 +0200)
src/util/crypto_ecc.c
patch
|
blob
|
history
diff --git
a/src/util/crypto_ecc.c
b/src/util/crypto_ecc.c
index 237062eb7489e615c1a544e8a6220a94a224b867..fcc8efa2caeb50f83baef8cc68b7fb7d0c28c87c 100644
(file)
--- 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;