mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 23:37:15 +00:00
1 parent
27d45b6d76
commit
2f9f610210
2 files changed
+3
-2
No files matched your search
@@ -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