- (djm) Use bigcrypt() on systems with SCO_PROTECTED_PW. Patch from

Roger Cornelius <rac@tenzing.org>
This commit is contained in:
Damien Miller 2002-01-03 10:30:56 +11:00
parent b65a93d3a6
commit f9661094e5
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
20020103
- (djm) Use bigcrypt() on systems with SCO_PROTECTED_PW. Patch from
Roger Cornelius <rac@tenzing.org>
20011229
- (djm) Apply Cygwin pointer deref fix from Corinna Vinschen
<vinschen@redhat.com> Could be abused to guess valid usernames
@ -7114,4 +7118,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1713 2001/12/31 00:59:53 djm Exp $
$Id: ChangeLog,v 1.1714 2002/01/02 23:30:56 djm Exp $

View File

@ -211,8 +211,12 @@ auth_password(Authctxt *authctxt, const char *password)
encrypted_password = bigcrypt(password, salt);
else
encrypted_password = crypt(password, salt);
# else
# ifdef HAVE_SCO_PROTECTED_PW
encrypted_password = bigcrypt(password, salt);
# else
encrypted_password = crypt(password, salt);
# endif /* HAVE_SCO_PROTECTED_PW */
# endif /* __hpux */
#endif /* HAVE_MD5_PASSWORDS */