Skip to content

Commit

Permalink
Merge pull request #1433 from FreeRDP/weberhofer-patch-1
Browse files Browse the repository at this point in the history
Ensure the return value is initialized
  • Loading branch information
giox069 committed Jan 5, 2018
2 parents 3528b62 + f22d5cb commit 816f581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions remmina/src/remmina_ssh.c
Expand Up @@ -327,6 +327,7 @@ remmina_ssh_auth(RemminaSSH *ssh, const gchar *password)
switch (ssh->auth) {

case SSH_AUTH_PASSWORD:
ret = 0;
if (method & SSH_AUTH_METHOD_INTERACTIVE || method & SSH_AUTH_METHOD_PASSWORD) {
ret = remmina_ssh_auth_interactive(ssh);
if (!ssh->authenticated)
Expand Down

0 comments on commit 816f581

Please sign in to comment.