diff options
author | Colin Watson <cjwatson@debian.org> | 2017-10-04 11:23:58 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-10-04 11:23:58 +0100 |
commit | 62f54f20bf351468e0124f63cc2902ee40d9b0e9 (patch) | |
tree | 3e090f2711b94ca5029d3fa3e8047b1ed1448b1f /kexc25519s.c | |
parent | 6fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874 (diff) | |
parent | 66bf74a92131b7effe49fb0eefe5225151869dc5 (diff) |
Import openssh_7.6p1.orig.tar.gz
Diffstat (limited to 'kexc25519s.c')
-rw-r--r-- | kexc25519s.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kexc25519s.c b/kexc25519s.c index 4e77622b0..0a008d447 100644 --- a/kexc25519s.c +++ b/kexc25519s.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include "sshbuf.h" | 41 | #include "sshbuf.h" |
42 | #include "ssherr.h" | 42 | #include "ssherr.h" |
43 | 43 | ||
44 | static int input_kex_c25519_init(int, u_int32_t, void *); | 44 | static int input_kex_c25519_init(int, u_int32_t, struct ssh *); |
45 | 45 | ||
46 | int | 46 | int |
47 | kexc25519_server(struct ssh *ssh) | 47 | kexc25519_server(struct ssh *ssh) |
@@ -52,9 +52,8 @@ kexc25519_server(struct ssh *ssh) | |||
52 | } | 52 | } |
53 | 53 | ||
54 | static int | 54 | static int |
55 | input_kex_c25519_init(int type, u_int32_t seq, void *ctxt) | 55 | input_kex_c25519_init(int type, u_int32_t seq, struct ssh *ssh) |
56 | { | 56 | { |
57 | struct ssh *ssh = ctxt; | ||
58 | struct kex *kex = ssh->kex; | 57 | struct kex *kex = ssh->kex; |
59 | struct sshkey *server_host_private, *server_host_public; | 58 | struct sshkey *server_host_private, *server_host_public; |
60 | struct sshbuf *shared_secret = NULL; | 59 | struct sshbuf *shared_secret = NULL; |