From e06c70afe8ee5ec49837f78f07fa4ae7beaca855 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 7 Sep 2017 13:53:21 +0200 Subject: [PATCH] Use the dedicated type for the argon2 type id --- src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c b/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c index c3b7dd81..4ee2c8aa 100644 --- a/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c +++ b/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c @@ -218,7 +218,7 @@ crypto_pwhash_argon2i_str_verify(const char str[crypto_pwhash_argon2i_STRBYTES], static int _needs_rehash(const char *str, unsigned long long opslimit, size_t memlimit, - int type) + argon2_type type) { unsigned char *fodder; argon2_context ctx;