diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-09-28 14:13:18 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-09-28 14:13:18 +0200 |
commit | a2fe4b2b2ce72ee824e915f130ec98b661b1966f (patch) | |
tree | 25afb74b8d017309d808d7eb1bdd9679f33b6ed6 /src/options.c | |
parent | e36c9c529b70893c288d31289b6057292cf7f5ca (diff) | |
download | libssh-a2fe4b2b2ce72ee824e915f130ec98b661b1966f.tar.gz libssh-a2fe4b2b2ce72ee824e915f130ec98b661b1966f.tar.xz libssh-a2fe4b2b2ce72ee824e915f130ec98b661b1966f.zip |
options: Rename HOSTKEYCHECK to STRICTHOSTKEYCHECK.
Looks like people are confused by the name and think this is normal host
key checking.
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c index eae9280f..85375c54 100644 --- a/src/options.c +++ b/src/options.c @@ -318,7 +318,7 @@ int ssh_options_set_algo(ssh_session session, int algo, * Set the compression to use for server to client * communication (string, "none" or "zlib"). * - * - SSH_OPTIONS_HOSTKEYCHECK: + * - SSH_OPTIONS_STRICTHOSTKEYCHECK: * Set the parameter StrictHostKeyChecking to avoid * asking about a fingerprint (integer, 0 = false). * @@ -588,7 +588,7 @@ int ssh_options_set(ssh_session session, enum ssh_options_e type, return -1; } break; - case SSH_OPTIONS_HOSTKEYCHECK: + case SSH_OPTIONS_STRICTHOSTKEYCHECK: if (value == NULL) { ssh_set_error_invalid(session, __FUNCTION__); return -1; |