summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--auth-passwd.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b06563a15..d7bf09eff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120020103
2 - (djm) Use bigcrypt() on systems with SCO_PROTECTED_PW. Patch from
3 Roger Cornelius <rac@tenzing.org>
4
120011229 520011229
2 - (djm) Apply Cygwin pointer deref fix from Corinna Vinschen 6 - (djm) Apply Cygwin pointer deref fix from Corinna Vinschen
3 <vinschen@redhat.com> Could be abused to guess valid usernames 7 <vinschen@redhat.com> Could be abused to guess valid usernames
@@ -7114,4 +7118,4 @@
7114 - Wrote replacements for strlcpy and mkdtemp 7118 - Wrote replacements for strlcpy and mkdtemp
7115 - Released 1.0pre1 7119 - Released 1.0pre1
7116 7120
7117$Id: ChangeLog,v 1.1713 2001/12/31 00:59:53 djm Exp $ 7121$Id: ChangeLog,v 1.1714 2002/01/02 23:30:56 djm Exp $
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