diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-09-25 20:18:33 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-09-25 20:18:33 +1000 |
commit | b88fcc755d675a54140a264bffec49c8803bf475 (patch) | |
tree | 328269f1765472f86d5a919b313cae2bde859d73 /openbsd-compat/xcrypt.c | |
parent | beaf6790e1ee4133ff12b22f9f61f8045f071cdc (diff) |
- (dtucker) [configure.ac openbsd-compat/xcrypt.c] Bug #633: Remove
DISABLE_SHADOW for HP-UX, use getspnam instead of getprpwnam. Patch from
michael_steffens at hp.com, ok djm@
Diffstat (limited to 'openbsd-compat/xcrypt.c')
-rw-r--r-- | openbsd-compat/xcrypt.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/openbsd-compat/xcrypt.c b/openbsd-compat/xcrypt.c index 5b5d69c72..a0fe6c620 100644 --- a/openbsd-compat/xcrypt.c +++ b/openbsd-compat/xcrypt.c | |||
@@ -104,10 +104,6 @@ shadow_pw(struct passwd *pw) | |||
104 | 104 | ||
105 | if (spw != NULL) | 105 | if (spw != NULL) |
106 | pw_password = spw->ufld.fd_encrypt; | 106 | pw_password = spw->ufld.fd_encrypt; |
107 | # elif defined(__hpux) && !defined(HAVE_SECUREWARE) | ||
108 | struct pr_passwd *spw; | ||
109 | if (iscomsec() && (spw = getprpwnam(pw->pw_name)) != NULL) | ||
110 | pw_password = spw->ufld.fd_encrypt; | ||
111 | # endif | 107 | # endif |
112 | 108 | ||
113 | return pw_password; | 109 | return pw_password; |