summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2017-05-30 14:29:59 +0000
committerDamien Miller <djm@mindrot.org>2017-05-31 10:50:33 +1000
commiteb272ea4099fd6157846f15c129ac5727933aa69 (patch)
tree7c721828dc6504e4adaa6517ce65840eaaba06ef /auth.h
parent5a146bbd4fdf5c571f9fb438e5210d28cead76d9 (diff)
upstream commit
switch auth2 to ssh_dispatch API; ok djm@ Upstream-ID: a752ca19e2782900dd83060b5c6344008106215f
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/auth.h b/auth.h
index db80fd0c7..677935463 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.h,v 1.90 2017/05/30 08:52:19 markus Exp $ */ 1/* $OpenBSD: auth.h,v 1.91 2017/05/30 14:29:59 markus Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -91,7 +91,7 @@ struct Authctxt {
91 91
92struct Authmethod { 92struct Authmethod {
93 char *name; 93 char *name;
94 int (*userauth)(Authctxt *authctxt); 94 int (*userauth)(struct ssh *);
95 int *enabled; 95 int *enabled;
96}; 96};
97 97
@@ -155,7 +155,7 @@ void auth_info(Authctxt *authctxt, const char *, ...)
155 __attribute__((__nonnull__ (2))); 155 __attribute__((__nonnull__ (2)));
156void auth_log(Authctxt *, int, int, const char *, const char *); 156void auth_log(Authctxt *, int, int, const char *, const char *);
157void auth_maxtries_exceeded(Authctxt *) __attribute__((noreturn)); 157void auth_maxtries_exceeded(Authctxt *) __attribute__((noreturn));
158void userauth_finish(Authctxt *, int, const char *, const char *); 158void userauth_finish(struct ssh *, int, const char *, const char *);
159int auth_root_allowed(const char *); 159int auth_root_allowed(const char *);
160 160
161void userauth_send_banner(const char *); 161void userauth_send_banner(const char *);
@@ -168,8 +168,8 @@ int auth2_method_allowed(Authctxt *, const char *, const char *);
168 168
169void privsep_challenge_enable(void); 169void privsep_challenge_enable(void);
170 170
171int auth2_challenge(Authctxt *, char *); 171int auth2_challenge(struct ssh *, char *);
172void auth2_challenge_stop(Authctxt *); 172void auth2_challenge_stop(struct ssh *);
173int bsdauth_query(void *, char **, char **, u_int *, char ***, u_int **); 173int bsdauth_query(void *, char **, char **, u_int *, char ***, u_int **);
174int bsdauth_respond(void *, u_int, char **); 174int bsdauth_respond(void *, u_int, char **);
175int skey_query(void *, char **, char **, u_int *, char ***, u_int **); 175int skey_query(void *, char **, char **, u_int *, char ***, u_int **);