diff options
Diffstat (limited to 'auth2-passwd.c')
-rw-r--r-- | auth2-passwd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth2-passwd.c b/auth2-passwd.c index 5026969f8..67fb4c921 100644 --- a/auth2-passwd.c +++ b/auth2-passwd.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth2-passwd.c,v 1.2 2002/05/31 11:35:15 markus Exp $"); | 26 | RCSID("$OpenBSD: auth2-passwd.c,v 1.4 2003/08/26 09:58:43 markus Exp $"); |
27 | 27 | ||
28 | #include "xmalloc.h" | 28 | #include "xmalloc.h" |
29 | #include "packet.h" | 29 | #include "packet.h" |
@@ -44,10 +44,10 @@ userauth_passwd(Authctxt *authctxt) | |||
44 | u_int len; | 44 | u_int len; |
45 | change = packet_get_char(); | 45 | change = packet_get_char(); |
46 | if (change) | 46 | if (change) |
47 | log("password change not supported"); | 47 | logit("password change not supported"); |
48 | password = packet_get_string(&len); | 48 | password = packet_get_string(&len); |
49 | packet_check_eom(); | 49 | packet_check_eom(); |
50 | if (PRIVSEP(auth_password(authctxt, password)) == 1 && authctxt->valid | 50 | if (PRIVSEP(auth_password(authctxt, password)) == 1 |
51 | #ifdef HAVE_CYGWIN | 51 | #ifdef HAVE_CYGWIN |
52 | && check_nt_auth(1, authctxt->pw) | 52 | && check_nt_auth(1, authctxt->pw) |
53 | #endif | 53 | #endif |