mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-21 03:51:32 +00:00
Linux/macOS: Implement missing Argon2 KDF support on Unix
This commit is contained in:
@@ -205,7 +205,7 @@ static int CreateVolumeInternal(const VeraCryptFormatOptions* options)
|
||||
|
||||
if (options->password)
|
||||
{
|
||||
if (!CheckPasswordLength(NULL, (int)strlen(options->password), options->pim, FALSE, 0, TRUE, TRUE))
|
||||
if (!CheckPasswordLength(NULL, (int)strlen(options->password), options->pim, FALSE, hash_algo, TRUE, TRUE))
|
||||
{
|
||||
return VCF_ERROR_PASSWORD_POLICY;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user