Fixes by misspell-fixer

This commit is contained in:
InspIRCd Robot 2020-10-15 00:24:48 +00:00 committed by Sadie Powell
parent b521739c93
commit 131f659d91
2 changed files with 3 additions and 3 deletions

View File

@ -198,14 +198,14 @@
# memory: Memory hardness, in KiB. E.g. 131072 KiB = 128 MiB.
# iterations: Time hardness in iterations. (def. 3)
# lanes: How many parallel chains can be run. (def. 1)
# threads: Maximum amount of threads each invokation can spawn. (def. 1)
# threads: Maximum amount of threads each invocation can spawn. (def. 1)
# length: Output length in bytes. (def. 32)
# saltlength: Salt length in bytes. (def. 16)
# version: Algorithm version, 10 or 13. (def. 13)
# The parameters can be customized as follows:
#<argon2 iterations="3" memory="131074" length="32" saltlength="16">
# Defines the parameters that are common for all the variants (i/d/id).
# Can be overriden on individual basis, e.g.
# Can be overridden on individual basis, e.g.
#<argon2i iterations="4">
#<argon2d memory="131074"
#<argon2id iterations="5" memory="262144" length="64" saltlength="32">

View File

@ -47,7 +47,7 @@ class ProviderConfig
private:
static Argon2_version SanitizeArgon2Version(unsigned long version)
{
// Note, 10 is 0x10, and 13 is 0x13. Refering to it as
// Note, 10 is 0x10, and 13 is 0x13. Referring to it as
// dec 10 or 13 in the config file, for the name to
// match better.
switch (version)