656 |
zend_string *username, *pubkey, *privkey, *passphrase; |
656 |
zend_string *username, *pubkey, *privkey, *passphrase = NULL; |
692 |
if (libssh2_userauth_publickey_fromfile_ex(session, ZSTR_VAL(username), ZSTR_LEN(username), ZSTR_VAL(pubkey), ZSTR_VAL(privkey), ZSTR_VAL(passphrase))) { |
692 |
if (libssh2_userauth_publickey_fromfile_ex(session, ZSTR_VAL(username), ZSTR_LEN(username), ZSTR_VAL(pubkey), ZSTR_VAL(privkey), passphrase ? ZSTR_VAL(passphrase) : NULL)) { |
695 |
libssh2_session_last_error(session, &buf, &len, 0); |
695 |
libssh2_session_last_error(session, &buf, &len, 0); |