diff options
author | Ed Maste <emaste@FreeBSD.org> | 2021-02-14 21:04:52 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2021-02-14 21:04:52 +0000 |
commit | 82e5fdc50050d6dccf1f547818312aebd3b6626e (patch) | |
tree | b461b67d9d667b0417001eb929b26fa3b198d93f /hostfile.c | |
parent | 0194e6d04277a638afac6c4a664d3bc6a0d944eb (diff) | |
download | src-82e5fdc50050d6dccf1f547818312aebd3b6626e.tar.gz src-82e5fdc50050d6dccf1f547818312aebd3b6626e.zip |
Vendor import of OpenSSH 8.2p1vendor/openssh/8.2p1
Diffstat (limited to 'hostfile.c')
-rw-r--r-- | hostfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hostfile.c b/hostfile.c index 96ab880d42cd..4a0349a60a39 100644 --- a/hostfile.c +++ b/hostfile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hostfile.c,v 1.76 2019/07/07 01:05:00 dtucker Exp $ */ +/* $OpenBSD: hostfile.c,v 1.77 2020/01/25 00:21:08 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -566,6 +566,7 @@ hostfile_replace_entries(const char *filename, const char *host, const char *ip, /* Remove all entries for the specified host from the file */ if ((r = hostkeys_foreach(filename, host_delete, &ctx, host, ip, HKF_WANT_PARSE_KEY)) != 0) { + oerrno = errno; error("%s: hostkeys_foreach failed: %s", __func__, ssh_err(r)); goto fail; } |