mirror of
https://github.com/sheumann/hush.git
synced 2025-08-05 12:26:26 +00:00
@@ -70,7 +70,7 @@ int FAST_FUNC ask_and_check_password_extended(const struct passwd *pw,
|
|||||||
fake_it:
|
fake_it:
|
||||||
unencrypted = bb_ask(STDIN_FILENO, timeout, prompt);
|
unencrypted = bb_ask(STDIN_FILENO, timeout, prompt);
|
||||||
if (!unencrypted) {
|
if (!unencrypted) {
|
||||||
/* EOF (such as ^D) or error (such as ^C) */
|
/* EOF (such as ^D) or error (such as ^C) or timeout */
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
encrypted = pw_encrypt(unencrypted, correct, 1);
|
encrypted = pw_encrypt(unencrypted, correct, 1);
|
||||||
|
Reference in New Issue
Block a user