VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/Favorites.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-04-14 06:52:06 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-04-14 06:53:41 (GMT)
commitf5606a44a6331715e9a8a43d6f4441f0cd89cb3a (patch)
tree364f47eba30fb566c62c1047bff9592dc347b8ac /src/Mount/Favorites.h
parent60575d9a496bd4b796bab73888b69c249a1f8048 (diff)
downloadVeraCrypt-f5606a44a6331715e9a8a43d6f4441f0cd89cb3a.zip
VeraCrypt-f5606a44a6331715e9a8a43d6f4441f0cd89cb3a.tar.gz
Windows: Finalize implementation of the new volume ID mechanism. Use SHA-256 instead of SHA-512 to compute volume ID to reduce string size and make more convenient to use.
Diffstat (limited to 'src/Mount/Favorites.h')
-rw-r--r--src/Mount/Favorites.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mount/Favorites.h b/src/Mount/Favorites.h
index 538ec1d..84ab2a2 100644
--- a/src/Mount/Favorites.h
+++ b/src/Mount/Favorites.h
@@ -33,7 +33,7 @@ namespace VeraCrypt
UseLabelInExplorer (false),
UseVolumeID (false)
{
- memset (VolumeID, 0, SHA512_DIGESTSIZE);
+ memset (VolumeID, 0, VOLUME_ID_SIZE);
}
wstring Path;
@@ -41,7 +41,7 @@ namespace VeraCrypt
wstring VolumePathId;
wstring Label;
int Pim;
- BYTE VolumeID[SHA512_DIGESTSIZE];
+ BYTE VolumeID[VOLUME_ID_SIZE];
bool DisableHotkeyMount;
bool DisconnectedDevice;