summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 09:51:03 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 09:51:03 -0800
commit0c49eecefffc16d5ea30709e7901bcdd41136a7c (patch)
treecb6c87a9343ac3bb5c353d5a604ab019f4ea0e79
parent86e227cdfdb9d2454571aa2eb63c81bca139552e (diff)
unifdef ultrix
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--greeter/verify.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/greeter/verify.c b/greeter/verify.c
index cf1f47b..edc7efb 100644
--- a/greeter/verify.c
+++ b/greeter/verify.c
@@ -367,13 +367,9 @@ Verify (struct display *d, struct greet_info *greet, struct verify_info *verify)
endspent();
# endif /* QNX4 doesn't need endspent() to end shadow passwd ops */
# endif /* HAVE_GETSPNAM */
-# if defined(ultrix) || defined(__ultrix__)
- if (authenticate_user(p, greet->password, NULL) < 0)
-# else
crypted_pass = crypt (greet->password, user_pass);
if ((crypted_pass == NULL)
|| (strcmp (crypted_pass, user_pass)))
-# endif
{
if(!greet->allow_null_passwd || strlen(p->pw_passwd) > 0) {
Debug ("password verify failed\n");