X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/d17c8fc2b09292b1331578bddeb0c36f45460b85..e9a17296ccbb7bb4f9a0affffe58d2240768a7d4:/openssh/auth-passwd.c diff --git a/openssh/auth-passwd.c b/openssh/auth-passwd.c index 988297c..095b9ba 100644 --- a/openssh/auth-passwd.c +++ b/openssh/auth-passwd.c @@ -36,12 +36,11 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-passwd.c,v 1.23 2001/06/26 16:15:23 dugsong Exp $"); +RCSID("$OpenBSD: auth-passwd.c,v 1.24 2002/03/04 12:43:06 markus Exp $"); #if !defined(USE_PAM) && !defined(HAVE_OSF_SIA) #include "packet.h" -#include "xmalloc.h" #include "log.h" #include "servconf.h" #include "auth.h" @@ -212,7 +211,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 */