summaryrefslogtreecommitdiff
path: root/auth1.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-08-23 22:56:08 +0100
committerColin Watson <cjwatson@debian.org>2010-08-23 22:56:08 +0100
commit31e30b835fd9695d3b6647cab4867001b092e28f (patch)
tree138e715c25661825457c7280cd66e3f4853d474c /auth1.c
parent78eedc2c60ff4718200f9271d8ee4f437da3a0c5 (diff)
parent43094ebf14c9b16f1ea398bc5b65a7335e947288 (diff)
merge 5.6p1
Diffstat (limited to 'auth1.c')
-rw-r--r--auth1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth1.c b/auth1.c
index 1801661fd..bf442dbf6 100644
--- a/auth1.c
+++ b/auth1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth1.c,v 1.73 2008/07/04 23:30:16 djm Exp $ */ 1/* $OpenBSD: auth1.c,v 1.74 2010/06/25 08:46:17 djm Exp $ */
2/* 2/*
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved 4 * All rights reserved
@@ -244,7 +244,7 @@ do_authloop(Authctxt *authctxt)
244 authctxt->valid ? "" : "invalid user ", authctxt->user); 244 authctxt->valid ? "" : "invalid user ", authctxt->user);
245 245
246 /* If the user has no password, accept authentication immediately. */ 246 /* If the user has no password, accept authentication immediately. */
247 if (options.password_authentication && 247 if (options.permit_empty_passwd && options.password_authentication &&
248#ifdef KRB5 248#ifdef KRB5
249 (!options.kerberos_authentication || options.kerberos_or_local_passwd) && 249 (!options.kerberos_authentication || options.kerberos_or_local_passwd) &&
250#endif 250#endif