mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-17 02:35:10 +00:00
RSA: fix for PHP8
This commit is contained in:
parent
8af4280bde
commit
149b4d2131
@ -3128,7 +3128,9 @@ class Crypt_RSA
|
||||
}
|
||||
|
||||
// Compare
|
||||
return $this->_equals($em, $em2) || $this->_equals($em, $em3);
|
||||
|
||||
return ($em2 !== false && $this->_equals($em, $em2)) ||
|
||||
($em3 !== false && $this->_equals($em, $em3));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user