summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/auth.c9
-rw-r--r--src/legacy.c7
2 files changed, 7 insertions, 9 deletions
diff --git a/src/auth.c b/src/auth.c
index 7422577..8f6be48 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -299,15 +299,6 @@ static int wait_auth_status(ssh_session session) {
/**
* @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
* @param[in] username Deprecated, set to NULL.
* @returns A bitfield of values SSH_AUTH_METHOD_PASSWORD,
diff --git a/src/legacy.c b/src/legacy.c
index 25ae53b..cfe8bc0 100644
--- a/src/legacy.c
+++ b/src/legacy.c
@@ -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);
}