aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2016-11-06 11:29:02 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-11-06 11:29:02 +0100
commit293ab4bd40eade73e21c6a6e963814a226613c77 (patch)
tree5cd59de1ea9a9b5fdff307520157dd8e5c010dc9 /src
parenta45db022e968a09b76012866d379e128fd6a4937 (diff)
downloadlibssh-293ab4bd40eade73e21c6a6e963814a226613c77.tar.gz
libssh-293ab4bd40eade73e21c6a6e963814a226613c77.tar.xz
libssh-293ab4bd40eade73e21c6a6e963814a226613c77.zip
doc: Improve documentation for ssh_set_auth_methods()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r--src/server.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server.c b/src/server.c
index 017a4cc5..3c1ee74c 100644
--- a/src/server.c
+++ b/src/server.c
@@ -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;