diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-12-05 15:05:02 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-12-05 15:05:02 +0100 |
commit | 076e884873315131363a4350c538fac6a028da53 (patch) | |
tree | c28a7ff7ee963a5ca4b4f3c844af22621e7df661 /libssh/server.c | |
parent | 2f6fbbd7065c16b48dcba357589a62c4dd05e0b2 (diff) | |
download | libssh-076e884873315131363a4350c538fac6a028da53.tar.gz libssh-076e884873315131363a4350c538fac6a028da53.tar.xz libssh-076e884873315131363a4350c538fac6a028da53.zip |
More callback stuff in connection
I have coded it, not actually tested it :) It still needs
work to get past the banner exchange.
Diffstat (limited to 'libssh/server.c')
-rw-r--r-- | libssh/server.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libssh/server.c b/libssh/server.c index e0502cc..ee00f7c 100644 --- a/libssh/server.c +++ b/libssh/server.c @@ -500,6 +500,13 @@ static int dh_handshake_server(ssh_session session) { return 0; } +/* FIXME TODO BUG + * Makes linker happy until I work on server code + */ +static char *ssh_get_banner(ssh_session session){ + (void)session; + return strdup("BUG"); +} /* Do the banner and key exchange */ int ssh_accept(ssh_session session) { if (ssh_send_banner(session, 1) < 0) { |