=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh-keygen.c,v retrieving revision 1.315 retrieving revision 1.316 diff -u -r1.315 -r1.316 --- src/usr.bin/ssh/ssh-keygen.c 2018/06/01 03:51:34 1.315 +++ src/usr.bin/ssh/ssh-keygen.c 2018/06/01 04:21:29 1.316 @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.315 2018/06/01 03:51:34 djm Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.316 2018/06/01 04:21:29 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1994 Tatu Ylonen , Espoo, Finland @@ -1241,7 +1241,7 @@ /* XXX support identity_file == "-" for stdin */ foreach_options = find_host ? HKF_WANT_MATCH : 0; foreach_options |= print_fingerprint ? HKF_WANT_PARSE_KEY : 0; - if ((r = hostkeys_foreach(identity_file, (find_host || !hash_hosts) ? + if ((r = hostkeys_foreach(identity_file, (find_host || !hash_hosts) ? known_hosts_find_delete : known_hosts_hash, &ctx, name, NULL, foreach_options)) != 0) { if (inplace)