Commit cd0eb1a2 authored by Niels Möller's avatar Niels Möller
Browse files

Some ssh1 fallback support.

Rev: src/lshd.c:1.34
Rev: src/server.h:1.12
parent d282b1b3
......@@ -456,6 +456,7 @@ int main(int argc, char **argv)
if (!io_listen(backend, &local,
"lsh - a free ssh",
r, make_kexinit,
......@@ -31,15 +31,25 @@
#include "password.h"
#include "reaper.h"
#include ssh1_fallback.h
#else /* !SSH1_FALLBACK */
struct ssh1_fallback;
#endif /* !SSH1_FALLBACK */
struct fd_callback *
make_server_callback(struct io_backend *b,
const char *comment,
/* NULL if no falling back should be attempted. */
struct ssh1_fallback *fallback,
UINT32 block_size,
struct randomness *random,
struct make_kexinit *init,
struct packet_handler *kexinit_handler);
struct read_handler *make_server_read_line(struct ssh_connection *c);
struct read_handler *make_server_read_line(struct ssh_connection *c,
int fd,
struct ssh1_fallback *fallback);
struct close_callback *make_server_close_handler(struct ssh_connection *c);
struct ssh_channel *make_server_session(struct unix_user *user,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment