=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-keyscan.c,v retrieving revision 1.143 retrieving revision 1.144 diff -u -r1.143 -r1.144 --- src/usr.bin/ssh/ssh-keyscan.c 2021/11/18 03:31:44 1.143 +++ src/usr.bin/ssh/ssh-keyscan.c 2021/12/02 23:45:36 1.144 @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keyscan.c,v 1.143 2021/11/18 03:31:44 djm Exp $ */ +/* $OpenBSD: ssh-keyscan.c,v 1.144 2021/12/02 23:45:36 djm Exp $ */ /* * Copyright 1995, 1996 by David Mazieres . * @@ -299,7 +299,7 @@ hostport = put_host_port(host, ssh_port); 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"); known_host = hash_hosts ? hashed : hostport; if (!get_cert)