diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-03-03 04:15:51 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-03-03 04:37:16 +0100 |
commit | 7c856857607112a3dfe6414696bf4c7ab7fb0cb3 (patch) | |
tree | 48c837fc9c9e11d64862d4f54c1a886b54d8721c /auth2-none.c | |
parent | upstream: Introduce a new API for handling authorized_keys options. (diff) | |
download | openssh-7c856857607112a3dfe6414696bf4c7ab7fb0cb3.tar.xz openssh-7c856857607112a3dfe6414696bf4c7ab7fb0cb3.zip |
upstream: switch over to the new authorized_keys options API and
remove the legacy one.
Includes a fairly big refactor of auth2-pubkey.c to retain less state
between key file lines.
feedback and ok markus@
OpenBSD-Commit-ID: dece6cae0f47751b9892080eb13d6625599573df
Diffstat (limited to 'auth2-none.c')
-rw-r--r-- | auth2-none.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2-none.c b/auth2-none.c index 35d25fa63..8d4e9bb8c 100644 --- a/auth2-none.c +++ b/auth2-none.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2-none.c,v 1.20 2017/05/30 14:29:59 markus Exp $ */ +/* $OpenBSD: auth2-none.c,v 1.21 2018/03/03 03:15:51 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -68,7 +68,7 @@ userauth_none(struct ssh *ssh) if ((r = sshpkt_get_end(ssh)) != 0) fatal("%s: %s", __func__, ssh_err(r)); if (options.permit_empty_passwd && options.password_authentication) - return (PRIVSEP(auth_password(ssh->authctxt, ""))); + return (PRIVSEP(auth_password(ssh, ""))); return (0); } |