Commit 14f16285 authored by Giovanni Panozzo's avatar Giovanni Panozzo

Fix missing local variable initialization

This missing initializazion made remmina hangs when connecting:
remmina does not authenticated, so libssh receives a type=3
ssh packet during ssh_channel_open_session. But type=3
packet in libssh is unhandled, so ssh_channel_open_session
hangs forever.
parent a4b5e61b
......@@ -138,6 +138,7 @@ remmina_ssh_auth_password (RemminaSSH *ssh)
gint n;
gint i;
ret = SSH_AUTH_ERROR;
if (ssh->authenticated) return 1;
if (ssh->password == NULL) return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment