VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-06 16:41:13 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-06 17:14:45 (GMT)
commit6d7f7527be5ddd31a87cb015c04074de81ab0061 (patch)
treeef0b36c23d23a072a05248aba3f064c1ad154695
parenta4145721a74d52304d23631656ddac2deacc5759 (diff)
downloadVeraCrypt-VeraCrypt_1.24.zip
VeraCrypt-VeraCrypt_1.24.tar.gz
MacOSX: fix link error under Xcode 4.6.3VeraCrypt_1.24
-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 fee149c..a22c938 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 5e31977..d82d0f4 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 ();