diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2016-03-07 19:02:44 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2016-03-07 19:02:44 +0000 |
commit | daa4435f61094021f646c9b2f59a4079546bc826 (patch) | |
tree | 62dc0c52030993ae669e55736d163f4d98c242d3 /usr.bin/ssh/auth.h | |
parent | fa0c97b67d9de4576728f5754bee7057844bc268 (diff) |
refactor canohost.c: move functions that cache results closer to the
places that use them (authn and session code). After this, no state is
cached in canohost.c
feedback and ok markus@
Diffstat (limited to 'usr.bin/ssh/auth.h')
-rw-r--r-- | usr.bin/ssh/auth.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/auth.h b/usr.bin/ssh/auth.h index 7c893e4469c..e20c6532c4e 100644 --- a/usr.bin/ssh/auth.h +++ b/usr.bin/ssh/auth.h @@ -1,4 +1,4 @@ -/* $OpenBSD: auth.h,v 1.86 2015/12/04 16:41:28 markus Exp $ */ +/* $OpenBSD: auth.h,v 1.87 2016/03/07 19:02:43 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. @@ -171,6 +171,8 @@ FILE *auth_openkeyfile(const char *, struct passwd *, int); FILE *auth_openprincipals(const char *, struct passwd *, int); int auth_key_is_revoked(Key *); +const char *auth_get_canonical_hostname(struct ssh *, int); + HostStatus check_key_in_hostfiles(struct passwd *, Key *, const char *, const char *, const char *); |