1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

TODO server: Fixed server support.

This commit is contained in:
Andreas Schneider
2010-12-18 14:02:53 +01:00
parent f5d0f232c8
commit 48e4df4ac0
3 changed files with 208 additions and 195 deletions

View File

@@ -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 */