[packet.c]
     fix random padding
This commit is contained in:
Ben Lindstrom 2001-03-05 06:07:00 +00:00
parent 4b00c8b40b
commit 6a5cde0eb7
2 changed files with 6 additions and 3 deletions

View File

@ -52,6 +52,9 @@
- deraadt@cvs.openbsd.org 2001/02/24 10:37:26
[sshd_config]
ssh2 rsa key before dsa key
- markus@cvs.openbsd.org 2001/02/27 10:35:27
[packet.c]
fix random padding
20010304
- (bal) Remove make-ssh-known-hosts.1 since it's no longer valid.
@ -4244,4 +4247,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.866 2001/03/05 06:05:35 mouring Exp $
$Id: ChangeLog,v 1.867 2001/03/05 06:07:00 mouring Exp $

View File

@ -37,7 +37,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: packet.c,v 1.51 2001/02/12 22:56:09 deraadt Exp $");
RCSID("$OpenBSD: packet.c,v 1.52 2001/02/27 10:35:27 markus Exp $");
#include "xmalloc.h"
#include "buffer.h"
@ -586,7 +586,7 @@ packet_send2(void)
if (i % 4 == 0)
rand = arc4random();
cp[i] = rand & 0xff;
rand <<= 8;
rand >>= 8;
}
} else {
/* clear padding */