From f9e890e07ed63a9bd14e36c74525f462ad7da015 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 10 May 2006 21:55:16 +0000 Subject: Add proper licensing --- common/sha1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/sha1.c') 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) { -- cgit v1.2.3