Return to ssh-keyscan.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.143, 2021/11/18 03:31:44 | version 1.144, 2021/12/02 23:45:36 | ||
---|---|---|---|
|
|
||
hostport = put_host_port(host, ssh_port); | hostport = put_host_port(host, ssh_port); | ||
lowercase(hostport); | lowercase(hostport); | ||
if (hash_hosts && (hashed = host_hash(host, NULL, 0)) == NULL) | if (hash_hosts && (hashed = host_hash(hostport, NULL, 0)) == NULL) | ||
fatal("host_hash failed"); | fatal("host_hash failed"); | ||
known_host = hash_hosts ? hashed : hostport; | known_host = hash_hosts ? hashed : hostport; | ||
if (!get_cert) | if (!get_cert) |