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

options: Rename HOSTKEYCHECK to STRICTHOSTKEYCHECK.

Looks like people are confused by the name and think this is normal host
key checking.
This commit is contained in:
Andreas Schneider
2010-09-28 14:13:18 +02:00
parent e36c9c529b
commit a2fe4b2b2c
3 changed files with 7 additions and 7 deletions

View File

@@ -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;