From 6d7f7527be5ddd31a87cb015c04074de81ab0061 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 6 Oct 2019 18:41:13 +0200 Subject: MacOSX: fix link error under Xcode 4.6.3 --- src/Volume/VolumePassword.cpp | 4 ++++ src/Volume/VolumePassword.h | 6 +++--- 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 (); -- cgit v1.2.3