aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-07-14 10:09:18 +0200
committerAndreas Schneider <mail@cynapses.org>2009-07-14 10:22:17 +0200
commitf8f0663eb93eb44718cae8812ddd2ed246cc30c6 (patch)
tree6d53ec798512d539ca5e5a27ffd8efd3171e445d
parentcedc635ed003dc249c3e5db2c73a99fe28458ab0 (diff)
downloadlibssh-f8f0663eb93eb44718cae8812ddd2ed246cc30c6.tar.gz
libssh-f8f0663eb93eb44718cae8812ddd2ed246cc30c6.tar.xz
libssh-f8f0663eb93eb44718cae8812ddd2ed246cc30c6.zip
Fix doxygen to match SSH_SERVER_FILE_NOT_FOUND fix
-rw-r--r--libssh/keyfiles.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libssh/keyfiles.c b/libssh/keyfiles.c
index 6371e834..f944e818 100644
--- a/libssh/keyfiles.c
+++ b/libssh/keyfiles.c
@@ -1342,6 +1342,9 @@ static int match_hashed_host(SSH_SESSION *session, const char *host,
* possible attack \n
* SSH_SERVER_NOT_KNOWN: The server is unknown. User should confirm
* the MD5 is correct\n
+ * SSH_SERVER_FILE_NOT_FOUND:The known host file does not exist. The
+ * host is thus unknown. File will be created
+ * if host key is accepted\n
* SSH_SERVER_ERROR: Some error happened
*
* \see ssh_options_set_wanted_algo()
@@ -1434,7 +1437,7 @@ int ssh_is_server_known(SSH_SESSION *session) {
}
/** You generaly use it when ssh_is_server_known() answered SSH_SERVER_NOT_KNOWN
- * \brief write the current server as known in the known hosts file
+ * \brief write the current server as known in the known hosts file. This will create the known hosts file if it does not exist.
* \param session ssh session
* \return 0 on success, -1 on error
*/