1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

auth: Make ssh_userauth_autopubkey legacy.

This commit is contained in:
Andreas Schneider
2011-08-25 09:54:26 +02:00
parent 21261270e5
commit 89253fd22a
7 changed files with 9 additions and 176 deletions

View File

@@ -89,6 +89,10 @@ int ssh_userauth_pubkey(ssh_session session,
return rc;
}
int ssh_userauth_autopubkey(ssh_session session, const char *passphrase) {
return ssh_userauth_publickey_auto(session, NULL, passphrase);
}
/* BUFFER FUNCTIONS */
void buffer_free(ssh_buffer buffer){