VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-01-08 23:58:08 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-01-08 23:59:21 (GMT)
commit405883169cc02a2e015d16e544e55307e65e8c4e (patch)
treec48637064fae004f78348e3b37e22ebaf68fac7b /src/Driver
parent652e989d238fff2ade0de5a33a0e307e233c06e0 (diff)
downloadVeraCrypt-405883169cc02a2e015d16e544e55307e65e8c4e.zip
VeraCrypt-405883169cc02a2e015d16e544e55307e65e8c4e.tar.gz
Windows driver: remove newly added volatile qualifier from CRYPT_INFO pointers to fix build issue until a better approach is devised
Diffstat (limited to 'src/Driver')
-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 17459cb..f19609b 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 58efbc9..184e171 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 4ee2545..42b0919 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 */