From a2fe4b2b2ce72ee824e915f130ec98b661b1966f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 28 Sep 2010 14:13:18 +0200 Subject: options: Rename HOSTKEYCHECK to STRICTHOSTKEYCHECK. Looks like people are confused by the name and think this is normal host key checking. --- src/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index eae9280..85375c5 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; -- cgit