summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 14:25:19 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 14:25:19 +1100
commit8ba29fe72d68c6044b0383bc56931f05f8f35b68 (patch)
tree6197ef3dec8aa58ba7999d5e6d2a0c49bfc516b4 /packet.c
parent48c4ed2b78a831b068529eefd8a002c431a76232 (diff)
- deraadt@cvs.openbsd.org 2006/03/25 18:29:35
[auth-rsa.c authfd.c packet.c] needed casts (always will be needed)
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index 71da5454e..fceeef666 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.c,v 1.128 2006/03/25 13:17:02 djm Exp $ */ 1/* $OpenBSD: packet.c,v 1.129 2006/03/25 18:29:35 deraadt Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1549,7 +1549,7 @@ packet_send_ignore(int nbytes)
1549 for (i = 0; i < nbytes; i++) { 1549 for (i = 0; i < nbytes; i++) {
1550 if (i % 4 == 0) 1550 if (i % 4 == 0)
1551 rnd = arc4random(); 1551 rnd = arc4random();
1552 packet_put_char(rnd & 0xff); 1552 packet_put_char((u_char)rnd & 0xff);
1553 rnd >>= 8; 1553 rnd >>= 8;
1554 } 1554 }
1555} 1555}