From 1928fb6a85c14ceed2cd63b30ce1987eba576555 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 27 Mar 2014 11:06:01 +0100 Subject: [PATCH] doc: Fix ssh_userauth_none() function signature. Thanks to David Tibbe! BUG: https://red.libssh.org/issues/151 (cherry picked from commit 04543c9dbc2e7fb3d43985cd913a0b1225be43d5) --- doc/authentication.dox | 4 ++-- 1 file 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; }