VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-06 18:41:13 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-06 19:14:45 +0200
commit6d7f7527be5ddd31a87cb015c04074de81ab0061 (patch)
treeef0b36c23d23a072a05248aba3f064c1ad154695 /src
parenta4145721a74d52304d23631656ddac2deacc5759 (diff)
downloadVeraCrypt_1.24.tar.gz
VeraCrypt_1.24.zip
MacOSX: fix link error under Xcode 4.6.3VeraCrypt_1.24
Diffstat (limited to 'src')
-rw-r--r--src/Volume/VolumePassword.cpp4
-rw-r--r--src/Volume/VolumePassword.h6
2 files changed, 7 insertions, 3 deletions
diff --git a/src/Volume/VolumePassword.cpp b/src/Volume/VolumePassword.cpp
index fee149c3..a22c9388 100644
--- a/src/Volume/VolumePassword.cpp
+++ b/src/Volume/VolumePassword.cpp
@@ -16,6 +16,10 @@
namespace VeraCrypt
{
+ const size_t VolumePassword::MaxLegacySize = 64;
+ const size_t VolumePassword::MaxSize = 128;
+ const size_t VolumePassword::WarningSizeThreshold = 12;
+
VolumePassword::VolumePassword () : PasswordSize (0)
{
AllocateBuffer ();
diff --git a/src/Volume/VolumePassword.h b/src/Volume/VolumePassword.h
index 5e319774..d82d0f43 100644
--- a/src/Volume/VolumePassword.h
+++ b/src/Volume/VolumePassword.h
@@ -41,9 +41,9 @@ namespace VeraCrypt
TC_SERIALIZABLE (VolumePassword);
- static const size_t MaxLegacySize = 64;
- static const size_t MaxSize = 128;
- static const size_t WarningSizeThreshold = 12;
+ static const size_t MaxLegacySize;
+ static const size_t MaxSize;
+ static const size_t WarningSizeThreshold;
protected:
void AllocateBuffer ();