summaryrefslogtreecommitdiff
path: root/auth2-none.c
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 /auth2-none.c
parent5a146bbd4fdf5c571f9fb438e5210d28cead76d9 (diff)
upstream commit
switch auth2 to ssh_dispatch API; ok djm@ Upstream-ID: a752ca19e2782900dd83060b5c6344008106215f
Diffstat (limited to 'auth2-none.c')
-rw-r--r--auth2-none.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/auth2-none.c b/auth2-none.c
index da6e2dd12..35d25fa63 100644
--- a/auth2-none.c
+++ b/auth2-none.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-none.c,v 1.19 2017/05/30 14:27:22 markus Exp $ */ 1/* $OpenBSD: auth2-none.c,v 1.20 2017/05/30 14:29:59 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -60,9 +60,8 @@ extern ServerOptions options;
60static int none_enabled = 1; 60static int none_enabled = 1;
61 61
62static int 62static int
63userauth_none(Authctxt *authctxt) 63userauth_none(struct ssh *ssh)
64{ 64{
65 struct ssh *ssh = active_state; /* XXX */
66 int r; 65 int r;
67 66
68 none_enabled = 0; 67 none_enabled = 0;