From f09f8e3a317ccfd3eaeb21a0c83b04f95dbbecfb Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 1 Mar 2015 23:50:36 +0100 Subject: Windows Bootloader: Display message after entering password to inform user that the password is being processed. Without this, users coming from TrueCrypt think that the system is freezed since they expect it to boot quickly. --- src/Boot/Windows/BootMain.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Boot/Windows/BootMain.cpp b/src/Boot/Windows/BootMain.cpp index 9f6d0d2d..b29d3ff8 100644 --- a/src/Boot/Windows/BootMain.cpp +++ b/src/Boot/Windows/BootMain.cpp @@ -327,9 +327,13 @@ static bool MountVolume (byte drive, byte &exitKey, bool skipNormal, bool skipHi if (exitKey != TC_BIOS_KEY_ENTER) return false; + Print ("Verifying password..."); + if (OpenVolume (BootDrive, bootArguments->BootPassword, &BootCryptoInfo, &bootArguments->HeaderSaltCrc32, skipNormal, skipHidden)) + { + Print ("OK\r\n"); break; - + } if (GetShiftFlags() & TC_BIOS_SHIFTMASK_CAPSLOCK) Print ("Warning: Caps Lock is on.\r\n"); -- cgit v1.2.3