phpseclib/phpseclib — pull request #500 by terrafrost (2014-11-06 18:01:46+00:00)
Title: SSH2: fix issues with RSA key verification

Sometimes SSH servers will null pad their RSA keys. this null padding broke Net/SSH2.php's RSA implementation (Crypt/RSA.php's implementation works just fine). Also, the -3 was counting the initial "\0" of $h twice so adjust it to -2.

Fixes #499 (I hope)