summaryrefslogtreecommitdiff
path: root/kexc25519c.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexc25519c.c')
-rw-r--r--kexc25519c.c7
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 @@
1/* $OpenBSD: kexc25519c.c,v 1.7 2015/01/26 06:10:03 djm Exp $ */ 1/* $OpenBSD: kexc25519c.c,v 1.8 2017/05/31 04:17:12 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * Copyright (c) 2010 Damien Miller. All rights reserved. 4 * Copyright (c) 2010 Damien Miller. All rights reserved.
@@ -44,7 +44,7 @@
44#include "ssherr.h" 44#include "ssherr.h"
45 45
46static int 46static int
47input_kex_c25519_reply(int type, u_int32_t seq, void *ctxt); 47input_kex_c25519_reply(int type, u_int32_t seq, struct ssh *ssh);
48 48
49int 49int
50kexc25519_client(struct ssh *ssh) 50kexc25519_client(struct ssh *ssh)
@@ -69,9 +69,8 @@ kexc25519_client(struct ssh *ssh)
69} 69}
70 70
71static int 71static int
72input_kex_c25519_reply(int type, u_int32_t seq, void *ctxt) 72input_kex_c25519_reply(int type, u_int32_t seq, struct ssh *ssh)
73{ 73{
74 struct ssh *ssh = ctxt;
75 struct kex *kex = ssh->kex; 74 struct kex *kex = ssh->kex;
76 struct sshkey *server_host_key = NULL; 75 struct sshkey *server_host_key = NULL;
77 struct sshbuf *shared_secret = NULL; 76 struct sshbuf *shared_secret = NULL;