Use the dedicated type for the argon2 type id
This commit is contained in:
parent
378304f818
commit
e06c70afe8
@ -218,7 +218,7 @@ crypto_pwhash_argon2i_str_verify(const char str[crypto_pwhash_argon2i_STRBYTES],
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
_needs_rehash(const char *str, unsigned long long opslimit, size_t memlimit,
|
_needs_rehash(const char *str, unsigned long long opslimit, size_t memlimit,
|
||||||
int type)
|
argon2_type type)
|
||||||
{
|
{
|
||||||
unsigned char *fodder;
|
unsigned char *fodder;
|
||||||
argon2_context ctx;
|
argon2_context ctx;
|
||||||
|
Loading…
Reference in New Issue
Block a user