summaryrefslogtreecommitdiff
path: root/check.c
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>1998-10-21 23:50:10 +0000
committerTodd C. Miller <Todd.Miller@courtesan.com>1998-10-21 23:50:10 +0000
commitdd94a50a3273b054bb2f66572f50975f6d64bc45 (patch)
tree465390bf667c3be4c6772c8ac39b8fc851176a60 /check.c
parent1b9aca63bde10928d55b1f08acafb3131fef9d0e (diff)
downloadsudo-dd94a50a3273b054bb2f66572f50975f6d64bc45.tar.gz
getprpwuid is broken in HP-UX 10.20 at least (it sleeps for 2 minutes if the
shadow files don't exist).
Diffstat (limited to 'check.c')
-rw-r--r--check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/check.c b/check.c
index 371482cf7..c2d3da5d4 100644
--- a/check.c
+++ b/check.c
@@ -583,10 +583,10 @@ static void check_passwd()
return; /* if the passwd is correct return() */
# endif /* HAVE_GETAUTHUID */
-# ifdef HAVE_GETPRPWUID
+# ifdef HAVE_GETPRPWNAM
if (check_secureware(pass))
return; /* if the passwd is correct return() */
-# endif /* HAVE_GETPRPWUID */
+# endif /* HAVE_HAVE_GETPRPWNAM */
/* Normal UN*X password check */
if (!strcmp(user_passwd, (char *) crypt(pass, user_passwd)))