VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-01-09 00:58:08 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-01-09 00:59:21 +0100
commit405883169cc02a2e015d16e544e55307e65e8c4e (patch)
treec48637064fae004f78348e3b37e22ebaf68fac7b
parent652e989d238fff2ade0de5a33a0e307e233c06e0 (diff)
downloadVeraCrypt-405883169cc02a2e015d16e544e55307e65e8c4e.tar.gz
VeraCrypt-405883169cc02a2e015d16e544e55307e65e8c4e.zip
Windows driver: remove newly added volatile qualifier from CRYPT_INFO pointers to fix build issue until a better approach is devised
-rw-r--r--src/Driver/DriveFilter.h2
-rw-r--r--src/Driver/EncryptedIoQueue.h2
-rw-r--r--src/Driver/Ntdriver.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Driver/DriveFilter.h b/src/Driver/DriveFilter.h
index 17459cbc..f19609b0 100644
--- a/src/Driver/DriveFilter.h
+++ b/src/Driver/DriveFilter.h
@@ -44,7 +44,7 @@ typedef struct _DriveFilterExtension
KEVENT MountWorkItemCompletedEvent;
- volatile CRYPTO_INFO *HeaderCryptoInfo;
+ CRYPTO_INFO *HeaderCryptoInfo;
BOOL HiddenSystem;
} DriveFilterExtension;
diff --git a/src/Driver/EncryptedIoQueue.h b/src/Driver/EncryptedIoQueue.h
index 58efbc96..184e1714 100644
--- a/src/Driver/EncryptedIoQueue.h
+++ b/src/Driver/EncryptedIoQueue.h
@@ -44,7 +44,7 @@ typedef struct
KMUTEX BufferPoolMutex;
EncryptedIoQueueBuffer *FirstPoolBuffer;
- volatile CRYPTO_INFO *CryptoInfo;
+ CRYPTO_INFO *CryptoInfo;
// File-handle-based IO
HANDLE HostFileHandle;
diff --git a/src/Driver/Ntdriver.h b/src/Driver/Ntdriver.h
index 4ee25454..42b0919d 100644
--- a/src/Driver/Ntdriver.h
+++ b/src/Driver/Ntdriver.h
@@ -51,7 +51,7 @@ typedef struct EXTENSION
PFILE_OBJECT pfoDeviceFile; /* Device fileobject for this device */
PDEVICE_OBJECT pFsdDevice; /* lower level device handle */
- volatile CRYPTO_INFO *cryptoInfo; /* Cryptographic and other information for this device */
+ CRYPTO_INFO *cryptoInfo; /* Cryptographic and other information for this device */
__int64 HostLength;
__int64 DiskLength; /* The length of the disk referred to by this device */