summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/crypto_ecc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c
index 9d141be2c..fed7c9ece 100644
--- a/src/util/crypto_ecc.c
+++ b/src/util/crypto_ecc.c
@@ -81,7 +81,6 @@ key_from_sexp(gcry_mpi_t *array,
81{ 81{
82 gcry_sexp_t list; 82 gcry_sexp_t list;
83 gcry_sexp_t l2; 83 gcry_sexp_t l2;
84 const char *s;
85 unsigned int idx; 84 unsigned int idx;
86 85
87 list = gcry_sexp_find_token(sexp, topname, 0); 86 list = gcry_sexp_find_token(sexp, topname, 0);
@@ -94,7 +93,7 @@ key_from_sexp(gcry_mpi_t *array,
94 return 2; 93 return 2;
95 94
96 idx = 0; 95 idx = 0;
97 for (s = elems; *s; s++, idx++) 96 for (const char *s = elems; *s; s++, idx++)
98 { 97 {
99 l2 = gcry_sexp_find_token(list, s, 1); 98 l2 = gcry_sexp_find_token(list, s, 1);
100 if (!l2) 99 if (!l2)