mirror of
https://github.com/cy384/ssheven.git
synced 2026-05-21 06:45:34 -06:00
warning on invalid username/key combo
This commit is contained in:
parent
333367d4b4
commit
462a1cfe48
1 changed files with 2 additions and 2 deletions
|
|
@ -1130,9 +1130,9 @@ void* read_thread(void* arg)
|
||||||
else if (rc == LIBSSH2_ERROR_FILE) StopAlert(ALRT_FILE_FAIL, nil);
|
else if (rc == LIBSSH2_ERROR_FILE) StopAlert(ALRT_FILE_FAIL, nil);
|
||||||
else if (rc == LIBSSH2_ERROR_PUBLICKEY_UNVERIFIED)
|
else if (rc == LIBSSH2_ERROR_PUBLICKEY_UNVERIFIED)
|
||||||
{
|
{
|
||||||
printf_i("Invalid key files!\r\n"); // TODO: have an alert for this
|
printf_i("Username/public key combination invalid!\r\n"); // TODO: have an alert for this
|
||||||
}
|
}
|
||||||
else printf_i("failure: %s\r\n", libssh2_error_string(rc));
|
else printf_i("unexpected failure: %s\r\n", libssh2_error_string(rc));
|
||||||
ok = 0;
|
ok = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue