diff --git a/src/libsodium/crypto_pwhash/argon2/argon2.c b/src/libsodium/crypto_pwhash/argon2/argon2.c index 17ad263a..afcb28f4 100644 --- a/src/libsodium/crypto_pwhash/argon2/argon2.c +++ b/src/libsodium/crypto_pwhash/argon2/argon2.c @@ -87,8 +87,6 @@ int argon2_hash(const uint32_t t_cost, const uint32_t m_cost, int result; uint8_t *out; - /* Detect and reject overflowing sizes */ - /* TODO: This should probably be fixed in the function signature */ if (pwdlen > UINT32_MAX) { return ARGON2_PWD_TOO_LONG; }