auth: Move ssh_auth_list to legacy functions.

This commit is contained in:
Andreas Schneider
2011-08-23 16:25:39 +02:00
parent 058bb04396
commit 2e577cecb4
4 changed files with 9 additions and 10 deletions

View File

@@ -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

View File

@@ -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);
}