]> andersk Git - openssh.git/blobdiff - auth-passwd.c
- djm@cvs.openbsd.org 2010/01/30 02:54:53
[openssh.git] / auth-passwd.c
index f8df17e6aebdaae48b053988b23b7b4787140956..b1c6ce092894afa890b09a1566183bd743df54e5 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-passwd.c,v 1.39 2006/08/01 23:22:47 stevesk Exp $ */
+/* $OpenBSD: auth-passwd.c,v 1.43 2007/09/21 08:15:29 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
 #include <pwd.h>
 #include <stdio.h>
 #include <string.h>
+#include <stdarg.h>
 
 #include "packet.h"
 #include "buffer.h"
 #include "log.h"
 #include "servconf.h"
+#include "key.h"
+#include "hostfile.h"
 #include "auth.h"
 #include "auth-options.h"
 
@@ -99,7 +102,7 @@ auth_password(Authctxt *authctxt, const char *password)
        }
 #endif
 #ifdef HAVE_CYGWIN
-       if (is_winnt) {
+       {
                HANDLE hToken = cygwin_logon_user(pw, password);
 
                if (hToken == INVALID_HANDLE_VALUE)
This page took 0.054613 seconds and 4 git commands to generate.