From c8cd0fc699e3d0c9708002fc16fb7cf27729ad9d Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Fri, 26 Mar 2021 01:14:33 +0100 Subject: [PATCH] Tweak minimum/maximum password lengths. --- libslunkcrypt/include/slunkcrypt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libslunkcrypt/include/slunkcrypt.h b/libslunkcrypt/include/slunkcrypt.h index d8b8714..6c7fefa 100644 --- a/libslunkcrypt/include/slunkcrypt.h +++ b/libslunkcrypt/include/slunkcrypt.h @@ -66,8 +66,8 @@ static const int SLUNKCRYPT_ABORTED = -2; /* * Limits */ -static const size_t SLUNKCRYPT_PWDLEN_MIN = 5U; -static const size_t SLUNKCRYPT_PWDLEN_MAX = 512U; +static const size_t SLUNKCRYPT_PWDLEN_MIN = 8U; +static const size_t SLUNKCRYPT_PWDLEN_MAX = 256U; /* * Version info