diff options
Diffstat (limited to 'common/sha1.c')
-rw-r--r-- | common/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sha1.c b/common/sha1.c index 444e5bb..83e993f 100644 --- a/common/sha1.c +++ b/common/sha1.c @@ -139,7 +139,7 @@ void sha1_final(uchar digest[20], sha1_ctx_t* context) for (i = 0; i < 8; i++) { finalcount[i] = (uchar)((context->count[(i >= 4 ? 0 : 1)] - >> ((3-(i & 3)) * 8) ) & 255); /* Endian independent */ + >> ((3-(i & 3)) * 8) ) & 255); /* Endian independent */ } sha1_update(context, (uchar *)"\200", 1); while ((context->count[0] & 504) != 448) { |