summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2015-01-19 20:30:23 +0000
committerDamien Miller <djm@mindrot.org>2015-01-20 09:23:46 +1100
commitf582f0e917bb0017b00944783cd5f408bf4b0b5e (patch)
tree4f5642958dd85b4b81937498dc47d79cba91d67b /packet.c
parent48b3b2ba75181f11fca7f327058a591f4426cade (diff)
upstream commit
add experimental api for packet layer; ok djm@
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 3306e4d6c..cf9d3648b 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.c,v 1.201 2015/01/19 19:52:16 markus Exp $ */ 1/* $OpenBSD: packet.c,v 1.202 2015/01/19 20:30:23 markus 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
@@ -233,6 +233,8 @@ ssh_alloc_session_state(void)
233 (state->incoming_packet = sshbuf_new()) == NULL) 233 (state->incoming_packet = sshbuf_new()) == NULL)
234 goto fail; 234 goto fail;
235 TAILQ_INIT(&state->outgoing); 235 TAILQ_INIT(&state->outgoing);
236 TAILQ_INIT(&ssh->private_keys);
237 TAILQ_INIT(&ssh->public_keys);
236 state->connection_in = -1; 238 state->connection_in = -1;
237 state->connection_out = -1; 239 state->connection_out = -1;
238 state->max_packet_size = 32768; 240 state->max_packet_size = 32768;