summaryrefslogtreecommitdiff
path: root/common/sha1.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-05-10 21:55:16 +0000
committerStef Walter <stef@memberwebs.com>2006-05-10 21:55:16 +0000
commitf9e890e07ed63a9bd14e36c74525f462ad7da015 (patch)
treecb092f498e60163f0cdb6faba4785895955b6251 /common/sha1.c
parent8b041b40ac8567899c2b3c556705a837ca8b52cb (diff)
Add proper licensing
Diffstat (limited to 'common/sha1.c')
-rw-r--r--common/sha1.c2
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) {