mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-05 21:00:33 +09:00
auth: Move ssh_auth_list to legacy functions.
This commit is contained in:
@@ -297,15 +297,6 @@ static int wait_auth_status(ssh_session session) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief retrieves available authentication methods for this session
|
||||
* @deprecated
|
||||
* @see ssh_userauth_list
|
||||
*/
|
||||
int ssh_auth_list(ssh_session session) {
|
||||
return ssh_userauth_list(session, NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief retrieves available authentication methods for this session
|
||||
* @param[in] session the SSH session
|
||||
|
||||
@@ -35,6 +35,13 @@
|
||||
#include <libssh/keys.h>
|
||||
#include <libssh/keyfiles.h>
|
||||
|
||||
/* AUTH FUNCTIONS */
|
||||
int ssh_auth_list(ssh_session session) {
|
||||
return ssh_userauth_list(session, NULL);
|
||||
}
|
||||
|
||||
/* BUFFER FUNCTIONS */
|
||||
|
||||
void buffer_free(ssh_buffer buffer){
|
||||
ssh_buffer_free(buffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user