[openssh-commits] [openssh] 20/20: fix conversion of kexc25519s.c to struct ssh too
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed May 31 14:57:17 AEST 2017
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 6116bd4ed354a71a733c8fd0f0467ce612f12911
Author: Damien Miller <djm at mindrot.org>
Date: Wed May 31 14:56:07 2017 +1000
fix conversion of kexc25519s.c to struct ssh too
git cvsimport missed this commit for some reason
---
kexc25519s.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/kexc25519s.c b/kexc25519s.c
index 4e77622b..0a008d44 100644
--- a/kexc25519s.c
+++ b/kexc25519s.c
@@ -41,7 +41,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)
@@ -52,9 +52,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;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list