Skip to content

Commit

Permalink
Merge branch 'moosa-1.0' into moosa-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Apr 3, 2021
2 parents 74435e1 + 149b4d2 commit f95b039
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phpseclib/Crypt/RSA.php
Original file line number Diff line number Diff line change
Expand Up @@ -3044,7 +3044,9 @@ function _rsassa_pkcs1_v1_5_verify($m, $s)
}

// Compare
return $this->_equals($em, $em2) || $this->_equals($em, $em3);

return ($em2 !== false && $this->_equals($em, $em2)) ||
($em3 !== false && $this->_equals($em, $em3));
}

/**
Expand Down

0 comments on commit f95b039

Please sign in to comment.