aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2024-01-27 11:02:53 +0100
committerChristian Grothoff <grothoff@gnunet.org>2024-01-27 11:02:53 +0100
commit8e69ae4231ca7b5bd985393b498c92de4a348c91 (patch)
tree5eadd095437d66a4bd0e134497bf0871f2f95b66 /src
parent94caa7dae192871e512d7162010779936abfc26a (diff)
downloadgnunet-8e69ae4231ca7b5bd985393b498c92de4a348c91.tar.gz
gnunet-8e69ae4231ca7b5bd985393b498c92de4a348c91.zip
-indentation, comment
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_strings_lib.h4
-rw-r--r--src/lib/util/crypto_blind_sign.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/src/include/gnunet_strings_lib.h b/src/include/gnunet_strings_lib.h
index 36dfe9c12..df70c5e8f 100644
--- a/src/include/gnunet_strings_lib.h
+++ b/src/include/gnunet_strings_lib.h
@@ -410,6 +410,10 @@ GNUNET_STRINGS_base64_encode (const void *in,
410/** 410/**
411 * url/percent encode (RFC3986). 411 * url/percent encode (RFC3986).
412 * 412 *
413 * FIXME: awkward API, @a len is not actually used
414 * @a out is 0-terminated, should probably be changed
415 * to only input @a data and directly return @out or NULL.
416 *
413 * @param data the data to decode 417 * @param data the data to decode
414 * @param len the length of the input 418 * @param len the length of the input
415 * @param out where to write the output (*out should be NULL, 419 * @param out where to write the output (*out should be NULL,
diff --git a/src/lib/util/crypto_blind_sign.c b/src/lib/util/crypto_blind_sign.c
index ac611cf4f..33a587acd 100644
--- a/src/lib/util/crypto_blind_sign.c
+++ b/src/lib/util/crypto_blind_sign.c
@@ -47,9 +47,8 @@ GNUNET_CRYPTO_blinding_input_values_decref (
47 47
48 48
49void 49void
50GNUNET_CRYPTO_blind_sign_priv_decref (struct 50GNUNET_CRYPTO_blind_sign_priv_decref (
51 GNUNET_CRYPTO_BlindSignPrivateKey * 51 struct GNUNET_CRYPTO_BlindSignPrivateKey *bsign_priv)
52 bsign_priv)
53{ 52{
54 GNUNET_assert (bsign_priv->rc > 0); 53 GNUNET_assert (bsign_priv->rc > 0);
55 bsign_priv->rc--; 54 bsign_priv->rc--;