aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-03-27 11:06:01 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-03-27 11:06:01 +0100
commit04543c9dbc2e7fb3d43985cd913a0b1225be43d5 (patch)
tree7bb82710fdd91620db641679b90138a06258f1b2
parentd5aeebe3239c5d5dba64ef5c3f9cc1d0823d3b76 (diff)
downloadlibssh-04543c9dbc2e7fb3d43985cd913a0b1225be43d5.tar.gz
libssh-04543c9dbc2e7fb3d43985cd913a0b1225be43d5.tar.xz
libssh-04543c9dbc2e7fb3d43985cd913a0b1225be43d5.zip
doc: Fix ssh_userauth_none() function signature.
Thanks to David Tibbe! BUG: https://red.libssh.org/issues/151
-rw-r--r--doc/authentication.dox4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/authentication.dox b/doc/authentication.dox
index fbc2103b..30690e8c 100644
--- a/doc/authentication.dox
+++ b/doc/authentication.dox
@@ -285,7 +285,7 @@ int authenticate_kbdint(ssh_session session)
{
int rc;
- rc = ssh_userauth_none(session, NULL, NULL);
+ rc = ssh_userauth_none(session, NULL);
return rc;
}
@endcode
@@ -304,7 +304,7 @@ int test_several_auth_methods(ssh_session session)
{
int method, rc;
- rc = ssh_userauth_none(session, NULL, NULL);
+ rc = ssh_userauth_none(session, NULL);
if (rc != SSH_AUTH_SUCCESS) {
return rc;
}