diff options
author | Oliver Stöneberg <oliverst@online.de> | 2011-05-17 04:54:57 -0700 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-05-17 20:57:38 +0200 |
commit | 16241938af3526505cdf6af26003208c9fc756e6 (patch) | |
tree | 0b751eba8e063fc058358e49b45160be2b874d63 | |
parent | 6a8cb38dd3f9a056efa435d337917a0ead1155ca (diff) | |
download | libssh-16241938af3526505cdf6af26003208c9fc756e6.tar.gz libssh-16241938af3526505cdf6af26003208c9fc756e6.tar.xz libssh-16241938af3526505cdf6af26003208c9fc756e6.zip |
doc: Small update to auth.c documentation.
(cherry picked from commit 12b61a6266bd9f5d8d7cb1f99a855dcdd255681e)
-rw-r--r-- | src/auth.c | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -345,7 +345,7 @@ int ssh_userauth_list(ssh_session session, const char *username) { * SSH_AUTH_DENIED: Authentication failed: use another method\n * SSH_AUTH_PARTIAL: You've been partially authenticated, you still * have to use another method\n - * SSH_AUTH_SUCCESS: Authentication success + * SSH_AUTH_SUCCESS: Authentication success\n * SSH_AUTH_AGAIN: In nonblocking mode, you've got to call this again * later. */ @@ -756,7 +756,9 @@ error: * SSH_AUTH_DENIED: Authentication failed: use another method.\n * SSH_AUTH_PARTIAL: You've been partially authenticated, you still * have to use another method.\n - * SSH_AUTH_SUCCESS: Authentication successful. + * SSH_AUTH_SUCCESS: Authentication successful.\n + * SSH_AUTH_AGAIN: In nonblocking mode, you've got to call this again + * later. * * @see publickey_from_file() * @see privatekey_from_file() @@ -956,7 +958,7 @@ error: * SSH_AUTH_DENIED: Authentication failed: use another method.\n * SSH_AUTH_PARTIAL: You've been partially authenticated, you still * have to use another method.\n - * SSH_AUTH_SUCCESS: Authentication successful. + * SSH_AUTH_SUCCESS: Authentication successful.\n * SSH_AUTH_AGAIN: In nonblocking mode, you've got to call this again * later. * @@ -1666,7 +1668,9 @@ error: * have to use another method\n * SSH_AUTH_SUCCESS: Authentication success\n * SSH_AUTH_INFO: The server asked some questions. Use - * ssh_userauth_kbdint_getnprompts() and such. + * ssh_userauth_kbdint_getnprompts() and such.\n + * SSH_AUTH_AGAIN: In nonblocking mode, you've got to call this again + * later. * * @see ssh_userauth_kbdint_getnprompts() * @see ssh_userauth_kbdint_getname() |