diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2017-06-06 10:18:25 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-06-06 10:18:25 +0200 |
commit | e4f80bd1423942adda559ddbe031b4c029ee6d7a (patch) | |
tree | fa6bbe9236e5469ee6971d71d4343a8ca433a8a2 /doc | |
parent | abbd6e304ae5e678766f1c97012cb53c12757d96 (diff) | |
download | libssh-e4f80bd1423942adda559ddbe031b4c029ee6d7a.tar.gz libssh-e4f80bd1423942adda559ddbe031b4c029ee6d7a.tar.xz libssh-e4f80bd1423942adda559ddbe031b4c029ee6d7a.zip |
doc: Fix documentation for ssh_userauth_none() usage
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/authentication.dox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/authentication.dox b/doc/authentication.dox index 30690e8c..8ade5422 100644 --- a/doc/authentication.dox +++ b/doc/authentication.dox @@ -305,7 +305,7 @@ int test_several_auth_methods(ssh_session session) int method, rc; rc = ssh_userauth_none(session, NULL); - if (rc != SSH_AUTH_SUCCESS) { + if (rc == SSH_AUTH_SUCCESS || rc == SSH_AUTH_ERROR) { return rc; } |