summaryrefslogtreecommitdiff
path: root/kexc25519s.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2017-10-04 11:23:58 +0100
committerColin Watson <cjwatson@debian.org>2017-10-05 23:58:12 +0100
commit0556ea972b15607b7e13ff31bc05840881c91dd3 (patch)
treed6b8d48062d0278b5ae0eeff42d0e9afa9f26860 /kexc25519s.c
parentdb2122d97eb1ecdd8d99b7bf79b0dd2b5addfd92 (diff)
parent801a62eedaaf47b20dbf4b426dc3e084bf0c8d49 (diff)
New upstream release (7.6p1)
Diffstat (limited to 'kexc25519s.c')
-rw-r--r--kexc25519s.c5
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
44static int input_kex_c25519_init(int, u_int32_t, void *); 44static int input_kex_c25519_init(int, u_int32_t, struct ssh *);
45 45
46int 46int
47kexc25519_server(struct ssh *ssh) 47kexc25519_server(struct ssh *ssh)
@@ -52,9 +52,8 @@ kexc25519_server(struct ssh *ssh)
52} 52}
53 53
54static int 54static int
55input_kex_c25519_init(int type, u_int32_t seq, void *ctxt) 55input_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;