1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-14 04:18:54 +03:00

doc: Improve documentation for ssh_set_auth_methods()

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2016-11-06 11:29:02 +01:00
parent a45db022e9
commit 293ab4bd40
2 changed files with 17 additions and 6 deletions

View File

@@ -557,12 +557,6 @@ static int ssh_server_kex_termination(void *s){
return 1;
}
/** Set the acceptable authentication methods to be sent to
* client.
* @param[in] session the SSH server session
* @param[in] auth_methods Bitfield of authentication methods
* to be accepted, e.g. SSH_AUTH_METHOD_PUBLICKEY
*/
void ssh_set_auth_methods(ssh_session session, int auth_methods){
/* accept only methods in range */
session->auth_methods = auth_methods & 0x3f;