summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-05 14:43:15 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-05 14:43:15 +0200
commita16f6b613a10ed23099344611ff26844641fbee6 (patch)
treed12206670e001822b92df4f6e475dc7d8e5587dd /src
parent10079e7c8de9c5a8657adbe84022288c46706986 (diff)
style fix
Diffstat (limited to 'src')
-rw-r--r--src/util/crypto_ecc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c
index d954dfd98..9d141be2c 100644
--- 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;