diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-17 22:10:07 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-08-17 22:10:07 +0200 |
commit | 2b284e88262c33a225bda77004a20a23f2214632 (patch) | |
tree | 6a4386ef53b014c3a1566d6772cbe23d236770bc /DcsInt | |
parent | b87fc6b140772ba3017de311c7063c259424264c (diff) | |
download | VeraCrypt-DCS-2b284e88262c33a225bda77004a20a23f2214632.tar.gz VeraCrypt-DCS-2b284e88262c33a225bda77004a20a23f2214632.zip |
Better error message when authorization fails (and change Decript to Decrypt in the error message).VeraCrypt_1.18
Diffstat (limited to 'DcsInt')
-rw-r--r-- | DcsInt/DcsInt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DcsInt/DcsInt.c b/DcsInt/DcsInt.c index 3867067..ced318c 100644 --- a/DcsInt/DcsInt.c +++ b/DcsInt/DcsInt.c @@ -639,7 +639,7 @@ SecRegionTryDecrypt() if (gAuthPwdCode == AskPwdRetCancel) {
return EFI_NOT_READY;
}
- OUT_PRINT(L"Authorize...\n\r");
+ OUT_PRINT(L"Authorizing...\n\r");
do {
CopyMem(Header, SecRegionData + SecRegionOffset, 512);
vcres = ReadVolumeHeader(gAuthBoot, Header, &gAuthPassword, gAuthHash, gAuthPim, gAuthTc, &SecRegionCryptInfo, NULL);
@@ -650,7 +650,7 @@ SecRegionTryDecrypt() OUT_PRINT(L"start %lld len %lld\n", SecRegionCryptInfo->EncryptedAreaStart.Value, SecRegionCryptInfo->EncryptedAreaLength.Value);
break;
} else {
- ERR_PRINT(L"Decript error(%x)\n\r", vcres);
+ ERR_PRINT(L"Authorization failed. Wrong password, PIM or hash. Decrypt error(%x)\n\r", vcres);
}
} while (vcres != 0 && gAuthRetry != 0);
if (vcres != 0) {
|