1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

auth: Fix ssh_auth_list() documentation.

The server will not return SSH_AUTH_METHOD_NONE.
This commit is contained in:
Andreas Schneider
2011-08-22 15:03:25 +02:00
parent 1e019fee43
commit 9c376dd913

View File

@@ -310,7 +310,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.