mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
Fix ssh connection.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@334 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -46,7 +46,7 @@ SSH_SESSION *ssh_new(void) {
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
ZERO_STRUCTP(session);
|
memset(session, '0', sizeof(SSH_SESSION));
|
||||||
|
|
||||||
session->next_crypto = crypto_new();
|
session->next_crypto = crypto_new();
|
||||||
if (session->next_crypto == NULL) {
|
if (session->next_crypto == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user