summaryrefslogtreecommitdiffstats
path: root/auth-passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-passwd.c')
-rw-r--r--auth-passwd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth-passwd.c b/auth-passwd.c
index 988297cb..3546636a 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -212,7 +212,11 @@ auth_password(Authctxt *authctxt, const char *password)
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 */