View | Details | Raw Unified | Return to bug 3367
Collapse All | Expand All

(-)a/ssh-keyscan.c (-1 / +1 lines)
Lines 299-305 keyprint_one(const char *host, struct sshkey *key) Link Here
299
299
300
	hostport = put_host_port(host, ssh_port);
300
	hostport = put_host_port(host, ssh_port);
301
	lowercase(hostport);
301
	lowercase(hostport);
302
	if (hash_hosts && (hashed = host_hash(host, NULL, 0)) == NULL)
302
	if (hash_hosts && (hashed = host_hash(hostport, NULL, 0)) == NULL)
303
		fatal("host_hash failed");
303
		fatal("host_hash failed");
304
	known_host = hash_hosts ? hashed : hostport;
304
	known_host = hash_hosts ? hashed : hostport;
305
	if (!get_cert)
305
	if (!get_cert)

Return to bug 3367