aboutsummaryrefslogtreecommitdiff
path: root/src/legacy.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-12-18 14:02:53 +0100
committerAndreas Schneider <asn@cynapses.org>2010-12-18 14:02:53 +0100
commit48e4df4ac01002fbf0588e7178d4f01d861019df (patch)
tree239b4374df48d0e6c2d24b0a218070fbdeb28842 /src/legacy.c
parentf5d0f232c82b9fc7a29d75ecf72da8b9339fdae7 (diff)
downloadlibssh-48e4df4ac01002fbf0588e7178d4f01d861019df.tar.gz
libssh-48e4df4ac01002fbf0588e7178d4f01d861019df.tar.xz
libssh-48e4df4ac01002fbf0588e7178d4f01d861019df.zip
TODO server: Fixed server support.
Diffstat (limited to 'src/legacy.c')
-rw-r--r--src/legacy.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/legacy.c b/src/legacy.c
index ea97a31f..be38e2a2 100644
--- a/src/legacy.c
+++ b/src/legacy.c
@@ -232,6 +232,12 @@ char *string_to_char(ssh_string str){
return ssh_string_to_char(str);
}
+/****************************************************************************
+ * SERVER SUPPORT
+ ****************************************************************************/
+
+#ifdef WITH_SERVER
int ssh_accept(ssh_session session) {
return ssh_handle_key_exchange(session);
}
+#endif /* WITH_SERVER */