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
/
util
/
gnunet-scrypt.c
diff --git
a/src/util/gnunet-scrypt.c
b/src/util/gnunet-scrypt.c
index 70ba48d82d7a6ecebf8ffe34d44f5455a054b08d..9bb766595fa936bf194547a55e86417c7fd21e4d 100644
(file)
--- a/
src/util/gnunet-scrypt.c
+++ b/
src/util/gnunet-scrypt.c
@@
-79,7
+79,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;
}