diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-03-01 23:50:36 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-03-02 00:23:55 +0100 |
commit | f09f8e3a317ccfd3eaeb21a0c83b04f95dbbecfb (patch) | |
tree | 60a285438ebce63276db35f8e307b16d148058d1 /src/Boot/Windows/BootMain.cpp | |
parent | 21be04cb6e22366f6d2e3754735c79120d868147 (diff) | |
download | VeraCrypt-f09f8e3a317ccfd3eaeb21a0c83b04f95dbbecfb.tar.gz VeraCrypt-f09f8e3a317ccfd3eaeb21a0c83b04f95dbbecfb.zip |
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.
Diffstat (limited to 'src/Boot/Windows/BootMain.cpp')
-rw-r--r-- | src/Boot/Windows/BootMain.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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");
|