1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

Added return code SSH_SERVER_FILE_NOT_FOUND

This error is returned by ssh_is_server_known when known_hosts
file does not exist and gives more action to the developer.
This commit is contained in:
Aris Adamantiadis
2009-07-12 23:13:21 +02:00
parent 052073c36d
commit d5b6f6cc37
2 changed files with 3 additions and 2 deletions

View File

@@ -134,6 +134,7 @@ typedef int socket_t;
#define SSH_SERVER_KNOWN_OK 1
#define SSH_SERVER_KNOWN_CHANGED 2
#define SSH_SERVER_FOUND_OTHER 3
#define SSH_SERVER_FILE_NOT_FOUND 4
#ifndef MD5_DIGEST_LEN
#define MD5_DIGEST_LEN 16