diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-05-31 06:17:12 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-05-31 06:17:41 +0200 |
commit | 2a108277f976e8d0955c8b29d1dfde04dcbb3d5b (patch) | |
tree | abccae3745d81252a2a2ff2bad626c114e2587fb /kexc25519c.c | |
parent | upstream commit (diff) | |
download | openssh-2a108277f976e8d0955c8b29d1dfde04dcbb3d5b.tar.xz openssh-2a108277f976e8d0955c8b29d1dfde04dcbb3d5b.zip |
upstream commit
one more void *ctx => struct ssh *ssh conversion
Upstream-ID: d299d043471c10214cf52c03daa10f1c232759e2
Diffstat (limited to '')
-rw-r--r-- | kexc25519c.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kexc25519c.c b/kexc25519c.c index b7ef65dc3..e488013e9 100644 --- a/kexc25519c.c +++ b/kexc25519c.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kexc25519c.c,v 1.7 2015/01/26 06:10:03 djm Exp $ */ +/* $OpenBSD: kexc25519c.c,v 1.8 2017/05/31 04:17:12 djm Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * Copyright (c) 2010 Damien Miller. All rights reserved. @@ -44,7 +44,7 @@ #include "ssherr.h" static int -input_kex_c25519_reply(int type, u_int32_t seq, void *ctxt); +input_kex_c25519_reply(int type, u_int32_t seq, struct ssh *ssh); int kexc25519_client(struct ssh *ssh) @@ -69,9 +69,8 @@ kexc25519_client(struct ssh *ssh) } static int -input_kex_c25519_reply(int type, u_int32_t seq, void *ctxt) +input_kex_c25519_reply(int type, u_int32_t seq, struct ssh *ssh) { - struct ssh *ssh = ctxt; struct kex *kex = ssh->kex; struct sshkey *server_host_key = NULL; struct sshbuf *shared_secret = NULL; |