gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -FTBFS


From: gnunet
Subject: [gnunet] branch master updated: -FTBFS
Date: Sun, 02 Jan 2022 22:13:06 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new c786785d5 -FTBFS
c786785d5 is described below

commit c786785d54ee258209c7059ef25877e8c2aae159
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jan 2 22:13:04 2022 +0100

    -FTBFS
---
 src/revocation/revocation_api.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c
index 1032b98f7..d5bd53e56 100644
--- a/src/revocation/revocation_api.c
+++ b/src/revocation/revocation_api.c
@@ -53,7 +53,7 @@ struct GNUNET_REVOCATION_Query
 
 /**
  * Helper struct that holds a found pow nonce
- * and the corresponding number of leading zeroes.
+ * and the corresponding number of leading zeros.
  */
 struct BestPow
 {
@@ -392,7 +392,7 @@ GNUNET_REVOCATION_revoke_cancel (struct 
GNUNET_REVOCATION_Handle *h)
  * Calculate the average zeros in the pows.
  *
  * @param ph the PowHandle
- * @return the average number of zeroes.
+ * @return the average number of zeros.
  */
 static unsigned int
 calculate_score (const struct GNUNET_REVOCATION_PowCalculationHandle *ph)
@@ -518,7 +518,7 @@ GNUNET_REVOCATION_check_pow (const struct 
GNUNET_REVOCATION_PowP *pow,
                             buf,
                             sizeof(buf),
                             &result);
-    tmp_score = GNUNET_CRYPTO_hash_count_leading_zeroes (&result);
+    tmp_score = GNUNET_CRYPTO_hash_count_leading_zeros (&result);
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                 "Score %u with %" PRIu64 " (#%u)\n",
                 tmp_score, pow_val, i);
@@ -715,7 +715,7 @@ GNUNET_REVOCATION_pow_round (struct 
GNUNET_REVOCATION_PowCalculationHandle *pc)
                           buf,
                           sizeof(buf),
                           &result);
-  zeros = count_leading_zeroes (&result);
+  zeros = GNUNET_CRYPTO_hash_count_leading_zeros (&result);
   for (unsigned int i = 0; i < POW_COUNT; i++)
   {
     if (pc->best[i].bits < zeros)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]