mirror of
https://github.com/danog/phpseclib.git
synced 2025-01-22 04:51:19 +01: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…
x
Reference in New Issue
Block a user