summaryrefslogtreecommitdiffstats
path: root/hostfile.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2021-01-26 01:49:30 +0100
committerDamien Miller <djm@mindrot.org>2021-01-26 02:21:48 +0100
commit3b44f2513cae89c920e8fe927b9bc910a1c8c65a (patch)
treec67b9a8583b9795bec5a5dd56f7a8556c8da2d5e /hostfile.c
parentupstream: use recallocarray to allocate the agent sockets table; (diff)
downloadopenssh-3b44f2513cae89c920e8fe927b9bc910a1c8c65a.tar.xz
openssh-3b44f2513cae89c920e8fe927b9bc910a1c8c65a.zip
upstream: move check_host_cert() from sshconnect,c to sshkey.c and
refactor it to make it more generally usable and testable. ok markus@ OpenBSD-Commit-ID: 536f489f5ff38808c1fa711ba58d4579b636f9e4
Diffstat (limited to 'hostfile.c')
-rw-r--r--hostfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hostfile.c b/hostfile.c
index c3a281783..b381741af 100644
--- a/hostfile.c
+++ b/hostfile.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hostfile.c,v 1.87 2020/12/20 23:36:51 djm Exp $ */
+/* $OpenBSD: hostfile.c,v 1.88 2021/01/26 00:49:30 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -61,6 +61,7 @@
#include "ssherr.h"
#include "digest.h"
#include "hmac.h"
+#include "sshbuf.h"
struct hostkeys {
struct hostkey_entry *entries;