summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/hostfile.h
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2000-12-21 15:10:16 +0000
committermarkus <markus@openbsd.org>2000-12-21 15:10:16 +0000
commit0067bc2d18ce7eb07e8dce53dec5f27d4dc23c61 (patch)
tree18cf952ac26ac487511e20137acc05d4c89e0704 /usr.bin/ssh/hostfile.h
parentURL of protocol-numbers has changed (diff)
downloadwireguard-openbsd-0067bc2d18ce7eb07e8dce53dec5f27d4dc23c61.tar.xz
wireguard-openbsd-0067bc2d18ce7eb07e8dce53dec5f27d4dc23c61.zip
print keyfile:line for changed hostkeys, for deraadt@; ok deraadt@
Diffstat (limited to 'usr.bin/ssh/hostfile.h')
-rw-r--r--usr.bin/ssh/hostfile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/hostfile.h b/usr.bin/ssh/hostfile.h
index 9c2353bf986..dbdbd8f33f0 100644
--- a/usr.bin/ssh/hostfile.h
+++ b/usr.bin/ssh/hostfile.h
@@ -21,8 +21,10 @@
typedef enum {
HOST_OK, HOST_NEW, HOST_CHANGED
} HostStatus;
+
HostStatus
-check_host_in_hostfile(const char *filename, const char *host, Key *key, Key *found);
+check_host_in_hostfile(const char *filename, const char *host, Key *key,
+ Key *found, int *line);
/*
* Appends an entry to the host file. Returns false if the entry could not