Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lavabit/magma.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLadar Levison <ladar@lavabit.com>2018-09-18 22:46:24 +0300
committerLadar Levison <ladar@lavabit.com>2018-09-18 22:46:24 +0300
commit68ecbbfde440399274a8748b2d709be4756e51fb (patch)
treef218b35c39ee56712584a54a284d655b7453b001 /check
parent657a9abb6556aaea71eaf51d29f1a09bec11f0ea (diff)
Use the first 7 characters of the commit hash, instead of the last 8.
Diffstat (limited to 'check')
-rw-r--r--check/magma/magma_check.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/check/magma/magma_check.c b/check/magma/magma_check.c
index f17673bd..6ffc14da 100644
--- a/check/magma/magma_check.c
+++ b/check/magma/magma_check.c
@@ -282,10 +282,9 @@ int main(int argc, char *argv[]) {
// During development, we flush the cache system before running the unit tests.
cache_flush();
- // A number of the test accounts, and values used involve using passwords of 8 characteres, and will fail if the
- // minimum valid password length exceeds 8. Which is why we check to see if the value is indeed above 8, and if so
- // reset it to 8 for the purpose of this test.
- if (magma.secure.minimum_password_length > 8) magma.secure.minimum_password_length = 8;
+ // A number of the test accounts, and values used involve using short passwords, so we set the minimum valid password
+ // length to 4.
+ magma.secure.minimum_password_length = 4;
// Unit Test Config
sr = srunner_create(suite_check_magma());