PHP Secure Communications Library
Go to file
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].
2012-06-06 13:12:48 +02:00
phpseclib [topic/40730] Use strlen() instead of count() in function _equals() of Crypt_RSA. 2012-06-06 13:12:48 +02:00