VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2021-08-07 17:24:04 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2021-08-07 20:47:00 +0200
commitaeba32ba8b459a142ce2d92d8e89d70fbb25a92f (patch)
treef2a215d3faaf8e08d1df8314f99a8189fefaa4b8 /src
parenta505f3d98b826775b03e693c55c7e2ea82288ed5 (diff)
downloadVeraCrypt-aeba32ba8b459a142ce2d92d8e89d70fbb25a92f.tar.gz
VeraCrypt-aeba32ba8b459a142ce2d92d8e89d70fbb25a92f.zip
Windows Driver: fix BSOD during mounting caused by commit for PRF auto-detection speedup
Diffstat (limited to 'src')
-rw-r--r--src/Common/EncryptionThreadPool.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Common/EncryptionThreadPool.c b/src/Common/EncryptionThreadPool.c
index f62f8772..f93bf269 100644
--- a/src/Common/EncryptionThreadPool.c
+++ b/src/Common/EncryptionThreadPool.c
@@ -594,9 +594,7 @@ void EncryptionThreadPoolBeginReadVolumeHeaderFinalization (TC_EVENT *keyDerivat
workItem->Type = ReadVolumeHeaderFinalizationWork;
workItem->ReadVolumeHeaderFinalization.NoOutstandingWorkItemEvent = noOutstandingWorkItemEvent;
-#if !defined(DEVICE_DRIVER)
workItem->ReadVolumeHeaderFinalization.KeyDerivationCompletedEvent = keyDerivationCompletedEvent;
-#endif
workItem->ReadVolumeHeaderFinalization.keyDerivationWorkItems = keyDerivationWorkItems;
workItem->ReadVolumeHeaderFinalization.keyDerivationWorkItemsSize = keyDerivationWorkItemsSize;
workItem->ReadVolumeHeaderFinalization.outstandingWorkItemCount = outstandingWorkItemCount;