diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-07-12 23:13:21 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-07-13 12:07:19 +0200 |
commit | 50ebbe636ee45b5d82d33b29e1146477ccbcc849 (patch) | |
tree | bf93453dd642876baba288118f1f434e32c565a2 /include | |
parent | 101bf21d414afab092caafcdb83cf035b0d8966b (diff) | |
download | libssh-50ebbe636ee45b5d82d33b29e1146477ccbcc849.tar.gz libssh-50ebbe636ee45b5d82d33b29e1146477ccbcc849.tar.xz libssh-50ebbe636ee45b5d82d33b29e1146477ccbcc849.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/libssh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 0514095a..ad1038c8 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -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 |