diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-01-27 16:01:17 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-02-08 10:07:36 +0100 |
commit | 35497f87a7893a921a0d34aede02184c4ac72c82 (patch) | |
tree | 0d4c1f23e05f6bbe69b3fe25ad75dfa749d35f04 | |
parent | d01fa1198337f0f088c2b61484eb6678bb363598 (diff) | |
download | VeraCrypt-35497f87a7893a921a0d34aede02184c4ac72c82.tar.gz VeraCrypt-35497f87a7893a921a0d34aede02184c4ac72c82.zip |
Activate support of mounting TrueCrypt system partitions.
-rw-r--r-- | src/Mount/Mount.c | 4 | ||||
-rwxr-xr-x | src/Volume/Volume.cpp | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index 36994ee0..c6feb3b5 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -2173,10 +2173,6 @@ BOOL CALLBACK PasswordDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa case TC_APPMSG_PREBOOT_PASSWORD_MODE:
{
- /* No support for mounting TrueCrypt system partition */
- SetCheckBox (hwndDlg, IDC_TRUECRYPT_MODE, FALSE);
- EnableWindow (GetDlgItem (hwndDlg, IDC_TRUECRYPT_MODE), FALSE);
-
/* Repopulate the PRF algorithms list with algorithms that support system encryption */
HWND hComboBox = GetDlgItem (hwndDlg, IDC_PKCS5_PRF_ID);
SendMessage (hComboBox, CB_RESETCONTENT, 0, 0);
diff --git a/src/Volume/Volume.cpp b/src/Volume/Volume.cpp index f1f248ba..51ebf300 100755 --- a/src/Volume/Volume.cpp +++ b/src/Volume/Volume.cpp @@ -106,9 +106,6 @@ namespace VeraCrypt if (kdf && truecryptMode && (kdf->GetName() == L"HMAC-SHA-256")) throw UnsupportedAlgoInTrueCryptMode (SRC_POS); - if (truecryptMode && partitionInSystemEncryptionScope) - throw ParameterIncorrect (SRC_POS); - Protection = protection; VolumeFile = volumeFile; SystemEncryption = partitionInSystemEncryptionScope; |