summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-01-20 09:44:53 +1100
committerDamien Miller <djm@mindrot.org>2019-01-20 09:44:53 +1100
commit5ebce136a6105f084db8f0d7ee41981d42daec40 (patch)
treea7c2fb307a78450449d165ed734980bd643b5e5f /auth.h
parent172a592a53ebe8649c4ac0d7946e6c08eb151af6 (diff)
upstream: convert auth2.c to new packet API
OpenBSD-Commit-ID: ed831bb95ad228c6791bc18b60ce7a2edef2c999
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/auth.h b/auth.h
index 977562f0a..68104e50b 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.h,v 1.96 2018/04/10 00:10:49 djm Exp $ */ 1/* $OpenBSD: auth.h,v 1.97 2019/01/19 21:38:24 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -166,15 +166,13 @@ int auth_shadow_pwexpired(Authctxt *);
166#include "audit.h" 166#include "audit.h"
167void remove_kbdint_device(const char *); 167void remove_kbdint_device(const char *);
168 168
169void do_authentication2(Authctxt *); 169void do_authentication2(struct ssh *);
170 170
171void auth_log(Authctxt *, int, int, const char *, const char *); 171void auth_log(Authctxt *, int, int, const char *, const char *);
172void auth_maxtries_exceeded(Authctxt *) __attribute__((noreturn)); 172void auth_maxtries_exceeded(Authctxt *) __attribute__((noreturn));
173void userauth_finish(struct ssh *, int, const char *, const char *); 173void userauth_finish(struct ssh *, int, const char *, const char *);
174int auth_root_allowed(struct ssh *, const char *); 174int auth_root_allowed(struct ssh *, const char *);
175 175
176void userauth_send_banner(const char *);
177
178char *auth2_read_banner(void); 176char *auth2_read_banner(void);
179int auth2_methods_valid(const char *, int); 177int auth2_methods_valid(const char *, int);
180int auth2_update_methods_lists(Authctxt *, const char *, const char *); 178int auth2_update_methods_lists(Authctxt *, const char *, const char *);