mirror of
https://github.com/danog/tgseclib.git
synced 2025-01-22 14:01:20 +01:00
3eac2582d6
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.