summaryrefslogtreecommitdiffstats
path: root/doc
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:16:23 +0100
commit1928fb6a85c14ceed2cd63b30ce1987eba576555 (patch)
tree63ab9f007c20dfc5aaa89e54aefa79e08f2df315 /doc
parent5b1678f197a15e44dfa277792e3996e54a5d1e70 (diff)
doc: Fix ssh_userauth_none() function signature.
Thanks to David Tibbe! BUG: https://red.libssh.org/issues/151 (cherry picked from commit 04543c9dbc2e7fb3d43985cd913a0b1225be43d5)
Diffstat (limited to 'doc')
-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;
}