Skip to content

Commit

Permalink
MacOSX: fix link error under Xcode 4.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
idrassi committed Oct 6, 2019
1 parent a414572 commit 6d7f752
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/Volume/VolumePassword.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down
6 changes: 3 additions & 3 deletions src/Volume/VolumePassword.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down

0 comments on commit 6d7f752

Please sign in to comment.