~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rand/dsarand.c: Return the old number of passes from `DSARAND_PASSES'.
[catacomb]
/
symm
/
rmd256.c
diff --git
a/symm/rmd256.c
b/symm/rmd256.c
index
99648f5
..
0a03065
100644
(file)
--- a/
symm/rmd256.c
+++ b/
symm/rmd256.c
@@
-294,7
+294,7
@@
void rmd256_set(rmd256_ctx *ctx, const void *buf, unsigned long count)
ctx->D = LOAD32_L(p + 28);
ctx->off = 0;
ctx->nl = U32(count);
- ctx->nh = U32(((count & ~MASK32) >> 16) >> 16);
+ ctx->nh = U32(((count & ~
(unsigned long)
MASK32) >> 16) >> 16);
}
/* --- @rmd256_hash@ --- *