diff options
author | Damien Miller <djm@mindrot.org> | 2002-01-03 10:30:56 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-01-03 10:30:56 +1100 |
commit | f9661094e5e2854c37d24264b60a0da23ffd6deb (patch) | |
tree | e9e461b03442d054fc57cdb01601c58433efee65 /auth-passwd.c | |
parent | b65a93d3a637408c52df5ff2ec3cf751d1a7cb78 (diff) |
- (djm) Use bigcrypt() on systems with SCO_PROTECTED_PW. Patch from
Roger Cornelius <rac@tenzing.org>
Diffstat (limited to 'auth-passwd.c')
-rw-r--r-- | auth-passwd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/auth-passwd.c b/auth-passwd.c index 988297cb4..3546636aa 100644 --- a/auth-passwd.c +++ b/auth-passwd.c | |||
@@ -212,7 +212,11 @@ auth_password(Authctxt *authctxt, const char *password) | |||
212 | else | 212 | else |
213 | encrypted_password = crypt(password, salt); | 213 | encrypted_password = crypt(password, salt); |
214 | # else | 214 | # else |
215 | # ifdef HAVE_SCO_PROTECTED_PW | ||
216 | encrypted_password = bigcrypt(password, salt); | ||
217 | # else | ||
215 | encrypted_password = crypt(password, salt); | 218 | encrypted_password = crypt(password, salt); |
219 | # endif /* HAVE_SCO_PROTECTED_PW */ | ||
216 | # endif /* __hpux */ | 220 | # endif /* __hpux */ |
217 | #endif /* HAVE_MD5_PASSWORDS */ | 221 | #endif /* HAVE_MD5_PASSWORDS */ |
218 | 222 | ||