From ad7e9d88fbf36d0fdfb169cfa45c67d15da13263 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sat, 12 Dec 2009 00:23:53 +0100 Subject: packet SSH_KEXINIT received and parsed Resolved some bugs in the callback mechanism as well --- libssh/server.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libssh/server.c') diff --git a/libssh/server.c b/libssh/server.c index d42d5b1..d465c81 100644 --- a/libssh/server.c +++ b/libssh/server.c @@ -528,9 +528,10 @@ int ssh_accept(ssh_session session) { return -1; } - if (ssh_get_kex(session,1) < 0) { - return -1; - } + /* TODO here things won't work anymore */ +// if (ssh_get_kex(session,1) < 0) { +// return -1; +// } ssh_list_kex(session, &session->client_kex); crypt_set_algorithms_server(session); -- cgit