aboutsummaryrefslogtreecommitdiff
path: root/src/auth.c
diff options
context:
space:
mode:
authorOliver Stöneberg <oliverst@online.de>2011-05-17 04:54:57 -0700
committerAndreas Schneider <asn@cryptomilk.org>2011-05-17 14:22:11 +0200
commit12b61a6266bd9f5d8d7cb1f99a855dcdd255681e (patch)
tree309ca4ac98ee1a20385d44ebc56fd65e865f320a /src/auth.c
parentf4f4ce37f058748489b195e976b577465864e914 (diff)
downloadlibssh-12b61a6266bd9f5d8d7cb1f99a855dcdd255681e.tar.gz
libssh-12b61a6266bd9f5d8d7cb1f99a855dcdd255681e.tar.xz
libssh-12b61a6266bd9f5d8d7cb1f99a855dcdd255681e.zip
doc: Small update to auth.c documentation.
Diffstat (limited to 'src/auth.c')
-rw-r--r--src/auth.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/auth.c b/src/auth.c
index 1b929426..4e08c3e9 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -346,7 +346,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.
*/
@@ -988,7 +988,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()
@@ -1188,7 +1190,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.
*
@@ -1895,7 +1897,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()