diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2024-01-27 11:02:53 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2024-01-27 11:02:53 +0100 |
commit | 8e69ae4231ca7b5bd985393b498c92de4a348c91 (patch) | |
tree | 5eadd095437d66a4bd0e134497bf0871f2f95b66 | |
parent | 94caa7dae192871e512d7162010779936abfc26a (diff) | |
download | gnunet-8e69ae4231ca7b5bd985393b498c92de4a348c91.tar.gz gnunet-8e69ae4231ca7b5bd985393b498c92de4a348c91.zip |
-indentation, comment
m--------- | contrib/gana | 0 | ||||
m--------- | contrib/handbook | 0 | ||||
-rw-r--r-- | src/include/gnunet_strings_lib.h | 4 | ||||
-rw-r--r-- | src/lib/util/crypto_blind_sign.c | 5 |
4 files changed, 6 insertions, 3 deletions
diff --git a/contrib/gana b/contrib/gana | |||
Subproject 0ff4edfe76be77a59d4ebff5031feb50f3ba07d | Subproject f5577937ddfe880a49c8bcfce6e531959d62fdd | ||
diff --git a/contrib/handbook b/contrib/handbook | |||
Subproject 5c20e0aaa95c7cebc225d02231221d18fdcbdb5 | Subproject e5b42badb7450aee5367e70294a0f8b1595945e | ||
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 | ||
49 | void | 49 | void |
50 | GNUNET_CRYPTO_blind_sign_priv_decref (struct | 50 | GNUNET_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--; |