aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/hostfile.h
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2001-05-04 03:57:05 +0000
committerBrian Feldman <green@FreeBSD.org>2001-05-04 03:57:05 +0000
commit1e8db6e2f63ea90b361b3bbc9ebe9990660cb596 (patch)
tree045b20ba592666b889ef56f853cd97afede5f566 /crypto/openssh/hostfile.h
parent5b9b2fafd4d6d82af10bf630cbfc9393b8ed1d0a (diff)
downloadsrc-1e8db6e2f63ea90b361b3bbc9ebe9990660cb596.tar.gz
src-1e8db6e2f63ea90b361b3bbc9ebe9990660cb596.zip
Say "hi" to the latest in the OpenSSH series, version 2.9!
Happy birthday to: rwatson
Notes
Notes: svn path=/vendor-crypto/openssh/dist/; revision=76259
Diffstat (limited to 'crypto/openssh/hostfile.h')
-rw-r--r--crypto/openssh/hostfile.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/crypto/openssh/hostfile.h b/crypto/openssh/hostfile.h
index 9c2353bf986d..346bcd9ba54c 100644
--- a/crypto/openssh/hostfile.h
+++ b/crypto/openssh/hostfile.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: hostfile.h,v 1.7 2001/02/08 19:30:51 itojun Exp $ */
+
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -12,6 +14,9 @@
#ifndef HOSTFILE_H
#define HOSTFILE_H
+int
+auth_rsa_read_key(char **cpp, u_int *bitsp, BIGNUM * e, BIGNUM * n);
+
/*
* Checks whether the given host is already in the list of our known hosts.
* Returns HOST_OK if the host is known and has the specified key, HOST_NEW
@@ -21,8 +26,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