From 0ec2f464c88785938c6e8cd895b5662bd2752fd7 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 29 Dec 2015 17:53:05 +0100 Subject: [PATCH] Comment doesn't seem to be relevant any more --- src/libsodium/crypto_pwhash/argon2/argon2.c | 2 -- 1 file changed, 2 deletions(-) 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; }