VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Boot
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-03-01 22:50:36 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-03-01 23:23:55 (GMT)
commitf09f8e3a317ccfd3eaeb21a0c83b04f95dbbecfb (patch)
tree60a285438ebce63276db35f8e307b16d148058d1 /src/Boot
parent21be04cb6e22366f6d2e3754735c79120d868147 (diff)
downloadVeraCrypt-f09f8e3a317ccfd3eaeb21a0c83b04f95dbbecfb.zip
VeraCrypt-f09f8e3a317ccfd3eaeb21a0c83b04f95dbbecfb.tar.gz
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')
-rw-r--r--src/Boot/Windows/BootMain.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Boot/Windows/BootMain.cpp b/src/Boot/Windows/BootMain.cpp
index 9f6d0d2..b29d3ff 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");