summaryrefslogtreecommitdiffstats
path: root/libssh/server.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-12-05 15:05:02 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-12-05 15:05:02 +0100
commit076e884873315131363a4350c538fac6a028da53 (patch)
treec28a7ff7ee963a5ca4b4f3c844af22621e7df661 /libssh/server.c
parent2f6fbbd7065c16b48dcba357589a62c4dd05e0b2 (diff)
downloadlibssh-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.c7
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) {