mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-28 17:57:38 +00:00
@@ -272,7 +272,8 @@ static const char salt_chars[] =
|
||||
return [self asPBKDF2SHA1UsingSalt: theSalt];
|
||||
}
|
||||
#ifdef HAVE_SODIUM
|
||||
else if ([passwordScheme caseInsensitiveCompare: @"argon2i"] == NSOrderedSame)
|
||||
else if ([passwordScheme caseInsensitiveCompare: @"argon2i"] == NSOrderedSame ||
|
||||
[passwordScheme caseInsensitiveCompare: @"argon2"] == NSOrderedSame)
|
||||
{
|
||||
return [self asArgon2iUsingSalt: theSalt];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user