mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-03 20:38:29 +00:00
Andreas Fischer
71dea1fc2b
[topic/40730] Use strlen() instead of count() in function _equals() of Crypt_RSA.
It appears that count() always returns int(1) on strings. Thus, this check is pointless as is. strlen() was meant here and is actually required to prevent E_NOTICEs from invalid array accesses using $y[$i].
Languages
PHP
100%