Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2019-03-23 20:17:59 -05:00
commit 337d115179

View File

@ -2217,6 +2217,10 @@ class RSA
*/
function _equals($x, $y)
{
if (function_exists('hash_equals')) {
return hash_equals($x, $y);
}
if (strlen($x) != strlen($y)) {
return false;
}