summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/serverloop.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2017-05-30 14:23:52 +0000
committermarkus <markus@openbsd.org>2017-05-30 14:23:52 +0000
commit3904329f038c53474bd2f9e6b3482e9b39943fec (patch)
tree99582d6594b06d7f70528d38ca84542db1fb70c2 /usr.bin/ssh/serverloop.c
parentRemove default router proposals and address_proposals (diff)
downloadwireguard-openbsd-3904329f038c53474bd2f9e6b3482e9b39943fec.tar.xz
wireguard-openbsd-3904329f038c53474bd2f9e6b3482e9b39943fec.zip
protocol handlers all get struct ssh passed; ok djm@
Diffstat (limited to 'usr.bin/ssh/serverloop.c')
-rw-r--r--usr.bin/ssh/serverloop.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c
index 8d77c1ca732..f02b837c59f 100644
--- a/usr.bin/ssh/serverloop.c
+++ b/usr.bin/ssh/serverloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: serverloop.c,v 1.191 2017/02/01 02:59:09 dtucker Exp $ */
+/* $OpenBSD: serverloop.c,v 1.192 2017/05/30 14:23:52 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -410,7 +410,7 @@ server_loop2(Authctxt *authctxt)
}
static int
-server_input_keep_alive(int type, u_int32_t seq, void *ctxt)
+server_input_keep_alive(int type, u_int32_t seq, struct ssh *ssh)
{
debug("Got %d/%u for keepalive", type, seq);
/*
@@ -567,7 +567,7 @@ server_request_session(void)
}
static int
-server_input_channel_open(int type, u_int32_t seq, void *ctxt)
+server_input_channel_open(int type, u_int32_t seq, struct ssh *ssh)
{
Channel *c = NULL;
char *ctype;
@@ -691,7 +691,7 @@ server_input_hostkeys_prove(struct sshbuf **respp)
}
static int
-server_input_global_request(int type, u_int32_t seq, void *ctxt)
+server_input_global_request(int type, u_int32_t seq, struct ssh *ssh)
{
char *rtype;
int want_reply;
@@ -798,7 +798,7 @@ server_input_global_request(int type, u_int32_t seq, void *ctxt)
}
static int
-server_input_channel_req(int type, u_int32_t seq, void *ctxt)
+server_input_channel_req(int type, u_int32_t seq, struct ssh *ssh)
{
Channel *c;
int id, reply, success = 0;