Unverified Commit f22d5cba authored by Johannes Weberhofer's avatar Johannes Weberhofer Committed by GitHub

Ensure the return value is initialized

Please check if the return value is correct
parent 3528b623
......@@ -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)
......
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