From 55aa098295567868af26ca753e33cd9907d3b33d Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Thu, 1 Jun 2017 01:53:03 +0200 Subject: Windows: fix high CPU usage when a favorite is configured to mount using VolumeID when its host device is connected to the machine. --- src/Common/BootEncryption.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Common/BootEncryption.cpp') diff --git a/src/Common/BootEncryption.cpp b/src/Common/BootEncryption.cpp index 0b684e49..f7cfc6e1 100644 --- a/src/Common/BootEncryption.cpp +++ b/src/Common/BootEncryption.cpp @@ -1090,6 +1090,7 @@ namespace VeraCrypt memcpy (fingerprint, request.Fingerprint, sizeof (request.Fingerprint)); } +#ifndef SETUP // Note that this does not require admin rights (it just requires the driver to be running) bool BootEncryption::IsBootLoaderOnDrive (wchar_t *devicePath) { @@ -1114,6 +1115,7 @@ namespace VeraCrypt } } +#endif BootEncryptionStatus BootEncryption::GetStatus () { -- cgit v1.2.3