diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | packet.c | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -52,6 +52,9 @@ | |||
52 | - deraadt@cvs.openbsd.org 2001/02/24 10:37:26 | 52 | - deraadt@cvs.openbsd.org 2001/02/24 10:37:26 |
53 | [sshd_config] | 53 | [sshd_config] |
54 | ssh2 rsa key before dsa key | 54 | ssh2 rsa key before dsa key |
55 | - markus@cvs.openbsd.org 2001/02/27 10:35:27 | ||
56 | [packet.c] | ||
57 | fix random padding | ||
55 | 58 | ||
56 | 20010304 | 59 | 20010304 |
57 | - (bal) Remove make-ssh-known-hosts.1 since it's no longer valid. | 60 | - (bal) Remove make-ssh-known-hosts.1 since it's no longer valid. |
@@ -4244,4 +4247,4 @@ | |||
4244 | - Wrote replacements for strlcpy and mkdtemp | 4247 | - Wrote replacements for strlcpy and mkdtemp |
4245 | - Released 1.0pre1 | 4248 | - Released 1.0pre1 |
4246 | 4249 | ||
4247 | $Id: ChangeLog,v 1.866 2001/03/05 06:05:35 mouring Exp $ | 4250 | $Id: ChangeLog,v 1.867 2001/03/05 06:07:00 mouring Exp $ |
@@ -37,7 +37,7 @@ | |||
37 | */ | 37 | */ |
38 | 38 | ||
39 | #include "includes.h" | 39 | #include "includes.h" |
40 | RCSID("$OpenBSD: packet.c,v 1.51 2001/02/12 22:56:09 deraadt Exp $"); | 40 | RCSID("$OpenBSD: packet.c,v 1.52 2001/02/27 10:35:27 markus Exp $"); |
41 | 41 | ||
42 | #include "xmalloc.h" | 42 | #include "xmalloc.h" |
43 | #include "buffer.h" | 43 | #include "buffer.h" |
@@ -586,7 +586,7 @@ packet_send2(void) | |||
586 | if (i % 4 == 0) | 586 | if (i % 4 == 0) |
587 | rand = arc4random(); | 587 | rand = arc4random(); |
588 | cp[i] = rand & 0xff; | 588 | cp[i] = rand & 0xff; |
589 | rand <<= 8; | 589 | rand >>= 8; |
590 | } | 590 | } |
591 | } else { | 591 | } else { |
592 | /* clear padding */ | 592 | /* clear padding */ |