diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2017-05-31 04:19:29 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2017-05-31 04:19:29 +0000 |
commit | 501f848c5316961a5153f6e6daf70f83eb6bb764 (patch) | |
tree | 9796f0d9f8fadf7f0aba3866f8a0b9b260523642 /usr.bin/ssh | |
parent | c30f4ed611647700a4aa1428fe6073a65d908cc8 (diff) |
one more void *ctx => struct ssh *ssh conversion
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/kexc25519s.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/ssh/kexc25519s.c b/usr.bin/ssh/kexc25519s.c index eed1b5b7a0f..83fcf73ea7a 100644 --- a/usr.bin/ssh/kexc25519s.c +++ b/usr.bin/ssh/kexc25519s.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kexc25519s.c,v 1.10 2015/12/04 16:41:28 markus Exp $ */ +/* $OpenBSD: kexc25519s.c,v 1.11 2017/05/31 04:19:28 djm Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * Copyright (c) 2010 Damien Miller. All rights reserved. @@ -39,7 +39,7 @@ #include "sshbuf.h" #include "ssherr.h" -static int input_kex_c25519_init(int, u_int32_t, void *); +static int input_kex_c25519_init(int, u_int32_t, struct ssh *); int kexc25519_server(struct ssh *ssh) @@ -50,9 +50,8 @@ kexc25519_server(struct ssh *ssh) } static int -input_kex_c25519_init(int type, u_int32_t seq, void *ctxt) +input_kex_c25519_init(int type, u_int32_t seq, struct ssh *ssh) { - struct ssh *ssh = ctxt; struct kex *kex = ssh->kex; struct sshkey *server_host_private, *server_host_public; struct sshbuf *shared_secret = NULL; |