summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/auth.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/auth.c b/src/auth.c
index 04543e0..e699f60 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -2065,7 +2065,11 @@ const char *ssh_userauth_kbdint_getanswer(ssh_session session, unsigned int i) {
*
* @param[in] i index The number of the ith prompt.
*
- * @param[in] answer The answer to give to the server.
+ * @param[in] answer The answer to give to the server. The answer MUST be
+ * encoded UTF-8. It is up to the server how to interpret
+ * the value and validate it. However, if you read the
+ * answer in some other encoding, you MUST convert it to
+ * UTF-8.
*
* @return 0 on success, < 0 on error.
*/