1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows: Implement support for mounting partially encrypted system partitions

For now, we force ReadOnly mounting for such partitions.
This commit is contained in:
Mounir IDRASSI
2023-08-13 22:50:37 +02:00
parent 8c7962bda7
commit f84d235cf1
7 changed files with 34 additions and 5 deletions

View File

@@ -797,7 +797,7 @@ static VOID MainThreadProc (PVOID threadArg)
request->OrigDataBufferFragment = dataBuffer;
request->Length = dataFragmentLength;
if (queue->IsFilterDevice)
if (queue->IsFilterDevice || queue->bSupportPartialEncryption)
{
if (queue->EncryptedAreaStart == -1 || queue->EncryptedAreaEnd == -1)
{