summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/packet.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2010-11-05 02:46:48 +0000
committerDamien Miller <djm@cvs.openbsd.org>2010-11-05 02:46:48 +0000
commit5f57aab448149d2446aae5e1f4fb3556d24681d7 (patch)
tree27258b931010193eb5974ac6050654cd82f4c940 /usr.bin/ssh/packet.c
parent6a20314df1ae5812e64d101d2b68df2a617109d4 (diff)
whitespace KNF
Diffstat (limited to 'usr.bin/ssh/packet.c')
-rw-r--r--usr.bin/ssh/packet.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c
index b5742d00ab4..190af2990d9 100644
--- a/usr.bin/ssh/packet.c
+++ b/usr.bin/ssh/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.170 2010/08/31 11:54:45 djm Exp $ */
+/* $OpenBSD: packet.c,v 1.171 2010/11/05 02:46:47 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -195,13 +195,13 @@ static struct session_state *active_state, *backup_state;
static struct session_state *
alloc_session_state(void)
{
- struct session_state *s = xcalloc(1, sizeof(*s));
+ struct session_state *s = xcalloc(1, sizeof(*s));
- s->connection_in = -1;
- s->connection_out = -1;
- s->max_packet_size = 32768;
- s->packet_timeout_ms = -1;
- return s;
+ s->connection_in = -1;
+ s->connection_out = -1;
+ s->max_packet_size = 32768;
+ s->packet_timeout_ms = -1;
+ return s;
}
/*
@@ -387,8 +387,8 @@ packet_get_ssh1_cipher(void)
}
void
-packet_get_state(int mode, u_int32_t *seqnr, u_int64_t *blocks, u_int32_t *packets,
- u_int64_t *bytes)
+packet_get_state(int mode, u_int32_t *seqnr, u_int64_t *blocks,
+ u_int32_t *packets, u_int64_t *bytes)
{
struct packet_state *state;
@@ -538,8 +538,7 @@ packet_start_compression(int level)
*/
void
-packet_set_encryption_key(const u_char *key, u_int keylen,
- int number)
+packet_set_encryption_key(const u_char *key, u_int keylen, int number)
{
Cipher *cipher = cipher_by_number(number);