summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-11-27 12:42:36 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-11-27 12:42:36 +0100
commit04db860fbd8bbbfbcbb9043e673a2541f1734886 (patch)
treea8552308b1c4259ee415c2344dd532b4b90417f9
parentc4797b14ed1ccf70d2882aa9e9075ebef564d34b (diff)
kdf_mpi: be explicit about ctr size
-rw-r--r--src/util/crypto_kdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto_kdf.c b/src/util/crypto_kdf.c
index 43a9731ff..92b2cf5c2 100644
--- a/src/util/crypto_kdf.c
+++ b/src/util/crypto_kdf.c
@@ -132,7 +132,7 @@ GNUNET_CRYPTO_kdf_mod_mpi (gcry_mpi_t *r,
gcry_error_t rc;
unsigned int nbits;
size_t rsize;
- unsigned int ctr;
+ uint32_t ctr;
nbits = gcry_mpi_get_nbits (n);
/* GNUNET_assert (nbits > 512); */