diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-06-15 15:31:23 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-06-15 15:31:23 +0000 |
commit | 7dbc66e4a389b5d7cd075f73559415aaa0e555df (patch) | |
tree | 1aa963a15d00af7ac9fd64cb42d823be1366bed0 /libssh/server.c | |
parent | 387348968842dce1fd5da139fc858866c10830e2 (diff) | |
download | libssh-7dbc66e4a389b5d7cd075f73559415aaa0e555df.tar.gz libssh-7dbc66e4a389b5d7cd075f73559415aaa0e555df.tar.xz libssh-7dbc66e4a389b5d7cd075f73559415aaa0e555df.zip |
ssh_init()
fixes in client.c and server.c for this
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@778 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/server.c')
-rw-r--r-- | libssh/server.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libssh/server.c b/libssh/server.c index f1c156f..25021f6 100644 --- a/libssh/server.c +++ b/libssh/server.c @@ -135,7 +135,7 @@ int ssh_bind_listen(SSH_BIND *ssh_bind) { return -1; } - if (ssh_socket_init() < 0) { + if (ssh_init() < 0) { return -1; } @@ -479,10 +479,6 @@ int ssh_accept(SSH_SESSION *session) { return -1; } - if (ssh_crypto_init() < 0) { - return -1; - } - session->alive = 1; session->clientbanner = ssh_get_banner(session); |