diff options
Diffstat (limited to 'src/Volume/VolumePassword.h')
-rw-r--r-- | src/Volume/VolumePassword.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Volume/VolumePassword.h b/src/Volume/VolumePassword.h index 5e319774..f4a3ccbe 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 (); @@ -81,6 +81,7 @@ namespace VeraCrypt TC_EXCEPTION (PasswordEmpty); \ TC_EXCEPTION (PasswordTooLong); \ TC_EXCEPTION (PasswordUTF8TooLong); \ + TC_EXCEPTION (PasswordLegacyUTF8TooLong); \ TC_EXCEPTION (PasswordUTF8Invalid); \ TC_EXCEPTION (UnportablePassword); |