mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-03 00:02:05 +00:00
- stevesk@cvs.openbsd.org 2006/04/22 18:29:33
[crc32.c] remove extra spaces
This commit is contained in:
parent
2282c6e305
commit
08d4b0ca5d
@ -66,6 +66,9 @@
|
|||||||
[uidswap.c]
|
[uidswap.c]
|
||||||
use setres[ug]id() to permanently revoke privileges; ok deraadt@
|
use setres[ug]id() to permanently revoke privileges; ok deraadt@
|
||||||
(ID Sync only - portable already uses setres[ug]id() whenever possible)
|
(ID Sync only - portable already uses setres[ug]id() whenever possible)
|
||||||
|
- stevesk@cvs.openbsd.org 2006/04/22 18:29:33
|
||||||
|
[crc32.c]
|
||||||
|
remove extra spaces
|
||||||
|
|
||||||
20060421
|
20060421
|
||||||
- (djm) [Makefile.in configure.ac session.c sshpty.c]
|
- (djm) [Makefile.in configure.ac session.c sshpty.c]
|
||||||
@ -4577,4 +4580,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.4315 2006/04/23 02:11:57 djm Exp $
|
$Id: ChangeLog,v 1.4316 2006/04/23 02:12:24 djm Exp $
|
||||||
|
4
crc32.c
4
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.
|
* 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;
|
u_int32_t i, crc;
|
||||||
|
|
||||||
crc = 0;
|
crc = 0;
|
||||||
for (i = 0; i < size; i++)
|
for (i = 0; i < size; i++)
|
||||||
crc = crc32tab[(crc ^ buf[i]) & 0xff] ^ (crc >> 8);
|
crc = crc32tab[(crc ^ buf[i]) & 0xff] ^ (crc >> 8);
|
||||||
return crc;
|
return crc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user