We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aab21d commit cfe43e2Copy full SHA for cfe43e2
src/Net/SFTP.php
@@ -57,7 +57,7 @@ public function login($username, ...$args)
57
foreach ($args as &$arg) {
58
if ($arg instanceof RSA) {
59
$arg = $arg->getKeyObject();
60
- if (!$arg instanceof \phpseclib2\Crypt\Common\PrivateKey) {
+ if (!$arg instanceof \phpseclib3\Crypt\Common\PrivateKey) {
61
return false;
62
}
63
0 commit comments