diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | crc32.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -66,6 +66,9 @@ | |||
66 | [uidswap.c] | 66 | [uidswap.c] |
67 | use setres[ug]id() to permanently revoke privileges; ok deraadt@ | 67 | use setres[ug]id() to permanently revoke privileges; ok deraadt@ |
68 | (ID Sync only - portable already uses setres[ug]id() whenever possible) | 68 | (ID Sync only - portable already uses setres[ug]id() whenever possible) |
69 | - stevesk@cvs.openbsd.org 2006/04/22 18:29:33 | ||
70 | [crc32.c] | ||
71 | remove extra spaces | ||
69 | 72 | ||
70 | 20060421 | 73 | 20060421 |
71 | - (djm) [Makefile.in configure.ac session.c sshpty.c] | 74 | - (djm) [Makefile.in configure.ac session.c sshpty.c] |
@@ -4577,4 +4580,4 @@ | |||
4577 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 4580 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
4578 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 4581 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
4579 | 4582 | ||
4580 | $Id: ChangeLog,v 1.4315 2006/04/23 02:11:57 djm Exp $ | 4583 | $Id: ChangeLog,v 1.4316 2006/04/23 02:12:24 djm Exp $ |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: crc32.c,v 1.10 2006/03/25 22:22:43 djm Exp $ */ | 1 | /* $OpenBSD: crc32.c,v 1.11 2006/04/22 18:29:33 stevesk Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2003 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2003 Markus Friedl. All rights reserved. |
@@ -99,7 +99,7 @@ ssh_crc32(const u_char *buf, u_int32_t size) | |||
99 | u_int32_t i, crc; | 99 | u_int32_t i, crc; |
100 | 100 | ||
101 | crc = 0; | 101 | crc = 0; |
102 | for (i = 0; i < size; i++) | 102 | for (i = 0; i < size; i++) |
103 | crc = crc32tab[(crc ^ buf[i]) & 0xff] ^ (crc >> 8); | 103 | crc = crc32tab[(crc ^ buf[i]) & 0xff] ^ (crc >> 8); |
104 | return crc; | 104 | return crc; |
105 | } | 105 | } |