VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Password.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-06-08 01:14:57 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-06-08 01:16:34 +0200
commita7a8d57bcaaaf4e5982d2e51cd3086d34f45f780 (patch)
tree457161e7fefc61ee391ab2bd99f6f728b3b4a688 /src/Common/Password.h
parent00cd134720f754f008fdc541afdd9ab70f6d11da (diff)
downloadVeraCrypt-a7a8d57bcaaaf4e5982d2e51cd3086d34f45f780.tar.gz
VeraCrypt-a7a8d57bcaaaf4e5982d2e51cd3086d34f45f780.zip
Windows: rename PIN to PIM to avoid confusion. Better error messages.
Diffstat (limited to 'src/Common/Password.h')
-rw-r--r--src/Common/Password.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Common/Password.h b/src/Common/Password.h
index 5ccc44b3..275ad40a 100644
--- a/src/Common/Password.h
+++ b/src/Common/Password.h
@@ -15,9 +15,9 @@
// User text input limits
#define MIN_PASSWORD 1 // Minimum possible password length
#define MAX_PASSWORD 64 // Maximum possible password length
-#define MAX_PIN 10 // Maximum allowed digits in a PIN (enough for 32-bit value)
-#define MAX_BOOT_PIN 5 // Maximum allowed digits in a PIN for boot (enough for 16-bit value)
-#define MAX_BOOT_PIN_VALUE 65535
+#define MAX_PIM 10 // Maximum allowed digits in a PIM (enough for 32-bit value)
+#define MAX_BOOT_PIM 5 // Maximum allowed digits in a PIM for boot (enough for 16-bit value)
+#define MAX_BOOT_PIM_VALUE 65535
#define PASSWORD_LEN_WARNING 20 // Display a warning when a password is shorter than this