From b7a3d41baf2b3b7c8340966724f194fa8d0f6222 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 22 Aug 2011 15:03:25 +0200 Subject: auth: Fix ssh_auth_list() documentation. The server will not return SSH_AUTH_METHOD_NONE. (cherry picked from commit 9c376dd913b40bbcf9e0fc528f53e02c104b6c58) --- src/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.c b/src/auth.c index 6dda4792..cf6c13cb 100644 --- a/src/auth.c +++ b/src/auth.c @@ -309,7 +309,7 @@ int ssh_auth_list(ssh_session session) { * @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_NONE, SSH_AUTH_METHOD_PASSWORD, + * @returns A bitfield of values SSH_AUTH_METHOD_PASSWORD, SSH_AUTH_METHOD_PUBLICKEY, SSH_AUTH_METHOD_HOSTBASED, SSH_AUTH_METHOD_INTERACTIVE. @warning Other reserved flags may appear in future versions. -- cgit