diff options
author | markus@openbsd.org <markus@openbsd.org> | 2017-05-30 14:29:59 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-05-31 10:50:33 +1000 |
commit | eb272ea4099fd6157846f15c129ac5727933aa69 (patch) | |
tree | 7c721828dc6504e4adaa6517ce65840eaaba06ef /auth2-passwd.c | |
parent | 5a146bbd4fdf5c571f9fb438e5210d28cead76d9 (diff) |
upstream commit
switch auth2 to ssh_dispatch API; ok djm@
Upstream-ID: a752ca19e2782900dd83060b5c6344008106215f
Diffstat (limited to 'auth2-passwd.c')
-rw-r--r-- | auth2-passwd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/auth2-passwd.c b/auth2-passwd.c index d36b0cba3..5f7ba3244 100644 --- a/auth2-passwd.c +++ b/auth2-passwd.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth2-passwd.c,v 1.13 2017/05/30 14:26:49 markus Exp $ */ | 1 | /* $OpenBSD: auth2-passwd.c,v 1.14 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 | * |
@@ -48,9 +48,8 @@ | |||
48 | extern ServerOptions options; | 48 | extern ServerOptions options; |
49 | 49 | ||
50 | static int | 50 | static int |
51 | userauth_passwd(Authctxt *authctxt) | 51 | userauth_passwd(struct ssh *ssh) |
52 | { | 52 | { |
53 | struct ssh *ssh = active_state; /* XXX */ | ||
54 | char *password; | 53 | char *password; |
55 | int authenticated = 0, r; | 54 | int authenticated = 0, r; |
56 | u_char change; | 55 | u_char change; |