aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-30 10:29:24 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-30 10:29:24 +0200
commit14e3e037972140889deb5bf2e90931af7e6b5ec9 (patch)
tree59f5833f44d10b42352590aa9d86706ace3c49ea
parent30fb422df59da0e650eb790933dadbd4bb189658 (diff)
style fix
-rw-r--r--src/util/crypto_rsa.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index a985d8e596..bbd6c95ea3 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -94,7 +94,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;
if (! (list = gcry_sexp_find_token (sexp, topname, 0)))
@@ -109,7 +108,7 @@ key_from_sexp (gcry_mpi_t *array,
{
if (! (l2 = gcry_sexp_find_token (list, s, 1)))
{
- for (i = 0; i < idx; i++)
+ for (unsigned int i = 0; i < idx; i++)
{
gcry_free (array[i]);
array[i] = NULL;
@@ -121,7 +120,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;
@@ -720,7 +719,7 @@ rsa_full_domain_hash (const struct GNUNET_CRYPTO_RsaPublicKey *pkey,
* @param pkey the public key of the signer
* @param[out] buf set to a buffer with the blinded message to be signed
* @param[out] buf_size number of bytes stored in @a buf
- * @return GNUNET_YES if successful, GNUNET_NO if RSA key is malicious
+ * @return #GNUNET_YES if successful, #GNUNET_NO if RSA key is malicious
*/
int
GNUNET_CRYPTO_rsa_blind (const struct GNUNET_HashCode *hash,