summaryrefslogtreecommitdiff
path: root/auth-sia.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-01-22 15:42:26 +1100
committerDamien Miller <djm@mindrot.org>2003-01-22 15:42:26 +1100
commit2101bfc4e1dbe1dc475d71158b1c24c6d2e2e412 (patch)
treeb9012d184941802b5f9fa188a3a530410513c755 /auth-sia.c
parent53d81483f0bcea8af2207583bb6e83c187d522fc (diff)
- (djm) Reorganise PAM & SIA password handling to eliminate some common code
Diffstat (limited to 'auth-sia.c')
-rw-r--r--auth-sia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-sia.c b/auth-sia.c
index 58b17c16..071e154d 100644
--- a/auth-sia.c
+++ b/auth-sia.c
@@ -57,7 +57,7 @@ auth_sia_password(Authctxt *authctxt, char *pass)
host = get_canonical_hostname(options.verify_reverse_mapping);
- if (!user || !pass || pass[0] == '\0')
+ if (pass[0] == '\0')
return(0);
if (sia_ses_init(&ent, saved_argc, saved_argv, host, user, NULL, 0,