projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix bit counting mess
[oweals/gnunet.git]
/
src
/
revocation
/
revocation_api.c
diff --git
a/src/revocation/revocation_api.c
b/src/revocation/revocation_api.c
index 2ae8e2df941381aa08c2cde8c467f9db30e50552..33c67d005554c0fd6d1df70503fe8c7ebf0ce0e2 100644
(file)
--- a/
src/revocation/revocation_api.c
+++ b/
src/revocation/revocation_api.c
@@
-395,7
+395,7
@@
count_leading_zeroes (const struct GNUNET_HashCode *hash)
{
unsigned int hash_count;
hash_count = 0;
- while ((0 == GNUNET_CRYPTO_hash_get_bit (hash, hash_count)))
+ while ((0 == GNUNET_CRYPTO_hash_get_bit
_ltr
(hash, hash_count)))
hash_count++;
return hash_count;
}