diff options
Diffstat (limited to 'crypto/openssh/auth2-none.c')
-rw-r--r-- | crypto/openssh/auth2-none.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/auth2-none.c b/crypto/openssh/auth2-none.c index 08f2f93..c8c6c74 100644 --- a/crypto/openssh/auth2-none.c +++ b/crypto/openssh/auth2-none.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2-none.c,v 1.15 2008/07/02 12:36:39 djm Exp $ */ +/* $OpenBSD: auth2-none.c,v 1.16 2010/06/25 08:46:17 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -61,7 +61,7 @@ userauth_none(Authctxt *authctxt) { none_enabled = 0; packet_check_eom(); - if (options.password_authentication) + if (options.permit_empty_passwd && options.password_authentication) return (PRIVSEP(auth_password(authctxt, ""))); return (0); } |