mirror of
https://github.com/php/php-src.git
synced 2024-12-12 19:33:31 +08:00
Remove dead comparison (size_t < 0)
This commit is contained in:
parent
1292091670
commit
870d3e75ca
@ -183,7 +183,7 @@ PHP_FUNCTION(password_get_info)
|
||||
return;
|
||||
}
|
||||
|
||||
if (hash_len < 0 || (size_t) hash_len < 0) {
|
||||
if (hash_len < 0) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Supplied password hash too long to safely identify");
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user