summaryrefslogtreecommitdiffstats
path: root/crc32.c
diff options
context:
space:
mode:
Diffstat (limited to 'crc32.c')
-rw-r--r--crc32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crc32.c b/crc32.c
index 2da6360bd..c192eb4d6 100644
--- a/crc32.c
+++ b/crc32.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crc32.c,v 1.10 2006/03/25 22:22:43 djm Exp $ */
+/* $OpenBSD: crc32.c,v 1.11 2006/04/22 18:29:33 stevesk Exp $ */
/*
* Copyright (c) 2003 Markus Friedl. All rights reserved.
@@ -99,7 +99,7 @@ ssh_crc32(const u_char *buf, u_int32_t size)
u_int32_t i, crc;
crc = 0;
- for (i = 0; i < size; i++)
+ for (i = 0; i < size; i++)
crc = crc32tab[(crc ^ buf[i]) & 0xff] ^ (crc >> 8);
return crc;
}