aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libssh/server.h1
-rw-r--r--src/server.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/include/libssh/server.h b/include/libssh/server.h
index 0c318cbb..dbffecdd 100644
--- a/include/libssh/server.h
+++ b/include/libssh/server.h
@@ -55,7 +55,6 @@ typedef struct ssh_bind_struct* ssh_bind;
* @brief Incoming connection callback. This callback is called when a ssh_bind
* has a new incoming connection.
* @param sshbind Current sshbind session handler
- * @param message the actual message
* @param userdata Userdata to be passed to the callback function.
*/
typedef void (*ssh_bind_incoming_connection_callback) (ssh_bind sshbind,
diff --git a/src/server.c b/src/server.c
index 1acaac7a..cea30257 100644
--- a/src/server.c
+++ b/src/server.c
@@ -527,8 +527,8 @@ static int ssh_server_kex_termination(void *s){
/** Set the acceptable authentication methods to be sent to
* client.
* @param[in] session the SSH server session
- * @param[in] Bitfield of authentication methods to be accepted,
- * e.g. SSH_AUTH_METHOD_PUBLICKEY
+ * @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 */