diff options
author | Colin Watson <cjwatson@debian.org> | 2018-04-03 08:20:28 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2018-04-03 08:57:25 +0100 |
commit | a0b2dce9bf518f561bbb5070c0fb0c38f49035dd (patch) | |
tree | 24298b823e93d4e6efe13f48f1512707ebd625f8 /monitor_wrap.h | |
parent | 9d4942dc192b6f1888c9ab73a512dd9b197b956c (diff) | |
parent | 76aa43d2298f322f0371b74462418d0461537131 (diff) |
New upstream release (7.7p1)
Diffstat (limited to 'monitor_wrap.h')
-rw-r--r-- | monitor_wrap.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/monitor_wrap.h b/monitor_wrap.h index a9ccb243e..492de5c85 100644 --- a/monitor_wrap.h +++ b/monitor_wrap.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor_wrap.h,v 1.35 2017/05/31 08:09:45 markus Exp $ */ | 1 | /* $OpenBSD: monitor_wrap.h,v 1.37 2018/03/03 03:15:51 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 4 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
@@ -35,6 +35,8 @@ enum mm_keytype { MM_NOKEY, MM_HOSTKEY, MM_USERKEY }; | |||
35 | 35 | ||
36 | struct monitor; | 36 | struct monitor; |
37 | struct Authctxt; | 37 | struct Authctxt; |
38 | struct sshkey; | ||
39 | struct sshauthopt; | ||
38 | 40 | ||
39 | void mm_log_handler(LogLevel, const char *, void *); | 41 | void mm_log_handler(LogLevel, const char *, void *); |
40 | int mm_is_monitor(void); | 42 | int mm_is_monitor(void); |
@@ -45,14 +47,15 @@ void mm_inform_authserv(char *, char *, char *); | |||
45 | void mm_inform_authrole(char *); | 47 | void mm_inform_authrole(char *); |
46 | struct passwd *mm_getpwnamallow(const char *); | 48 | struct passwd *mm_getpwnamallow(const char *); |
47 | char *mm_auth2_read_banner(void); | 49 | char *mm_auth2_read_banner(void); |
48 | int mm_auth_password(struct Authctxt *, char *); | 50 | int mm_auth_password(struct ssh *, char *); |
49 | int mm_key_allowed(enum mm_keytype, const char *, const char *, struct sshkey *, | 51 | int mm_key_allowed(enum mm_keytype, const char *, const char *, struct sshkey *, |
50 | int); | 52 | int, struct sshauthopt **); |
51 | int mm_user_key_allowed(struct passwd *, struct sshkey *, int); | 53 | int mm_user_key_allowed(struct ssh *, struct passwd *, struct sshkey *, int, |
54 | struct sshauthopt **); | ||
52 | int mm_hostbased_key_allowed(struct passwd *, const char *, | 55 | int mm_hostbased_key_allowed(struct passwd *, const char *, |
53 | const char *, struct sshkey *); | 56 | const char *, struct sshkey *); |
54 | int mm_sshkey_verify(const struct sshkey *, const u_char *, size_t, | 57 | int mm_sshkey_verify(const struct sshkey *, const u_char *, size_t, |
55 | const u_char *, size_t, u_int); | 58 | const u_char *, size_t, const char *, u_int); |
56 | 59 | ||
57 | #ifdef GSSAPI | 60 | #ifdef GSSAPI |
58 | OM_uint32 mm_ssh_gssapi_server_ctx(Gssctxt **, gss_OID); | 61 | OM_uint32 mm_ssh_gssapi_server_ctx(Gssctxt **, gss_OID); |