diff options
author | Colin Watson <cjwatson@debian.org> | 2018-04-03 08:20:28 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2018-04-03 08:57:25 +0100 |
commit | a0b2dce9bf518f561bbb5070c0fb0c38f49035dd (patch) | |
tree | 24298b823e93d4e6efe13f48f1512707ebd625f8 /auth2-none.c | |
parent | 9d4942dc192b6f1888c9ab73a512dd9b197b956c (diff) | |
parent | 76aa43d2298f322f0371b74462418d0461537131 (diff) |
New upstream release (7.7p1)
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 @@ | |||
1 | /* $OpenBSD: auth2-none.c,v 1.20 2017/05/30 14:29:59 markus Exp $ */ | 1 | /* $OpenBSD: auth2-none.c,v 1.21 2018/03/03 03:15:51 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -68,7 +68,7 @@ userauth_none(struct ssh *ssh) | |||
68 | if ((r = sshpkt_get_end(ssh)) != 0) | 68 | if ((r = sshpkt_get_end(ssh)) != 0) |
69 | fatal("%s: %s", __func__, ssh_err(r)); | 69 | fatal("%s: %s", __func__, ssh_err(r)); |
70 | if (options.permit_empty_passwd && options.password_authentication) | 70 | if (options.permit_empty_passwd && options.password_authentication) |
71 | return (PRIVSEP(auth_password(ssh->authctxt, ""))); | 71 | return (PRIVSEP(auth_password(ssh, ""))); |
72 | return (0); | 72 | return (0); |
73 | } | 73 | } |
74 | 74 | ||