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:
10079e7
)
style fix
author
Christian Grothoff
<christian@grothoff.org>
Sat, 5 Oct 2019 12:43:15 +0000
(14:43 +0200)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 5 Oct 2019 12:43:15 +0000
(14: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 d954dfd98bf944bf396cee452f4fc615c4b3c153..9d141be2cee010600bc09dbd1ad7e2ce874cfbc6 100644
(file)
--- a/
src/util/crypto_ecc.c
+++ b/
src/util/crypto_ecc.c
@@
-82,7
+82,6
@@
key_from_sexp(gcry_mpi_t *array,
gcry_sexp_t list;
gcry_sexp_t l2;
const char *s;
- unsigned int i;
unsigned int idx;
list = gcry_sexp_find_token(sexp, topname, 0);
@@
-100,7
+99,7
@@
key_from_sexp(gcry_mpi_t *array,
l2 = gcry_sexp_find_token(list, s, 1);
if (!l2)
{
- for (i = 0; i < idx; i++)
+ for (
unsigned int
i = 0; i < idx; i++)
{
gcry_free(array[i]);
array[i] = NULL;
@@
-112,7
+111,7
@@
key_from_sexp(gcry_mpi_t *array,
gcry_sexp_release(l2);
if (!array[idx])
{
- for (i = 0; i < idx; i++)
+ for (
unsigned int
i = 0; i < idx; i++)
{
gcry_free(array[i]);
array[i] = NULL;