]> andersk Git - openssh.git/blobdiff - openbsd-compat/xcrypt.c
- djm@cvs.openbsd.org 2010/01/30 02:54:53
[openssh.git] / openbsd-compat / xcrypt.c
index 5d260f2c2653b0b0712c021c9bec02b906c440b3..6291e2884c5c266478ff1a5733b8bedb1260eeab 100644 (file)
 #include "includes.h"
 
 #include <sys/types.h>
+#include <unistd.h>
 #include <pwd.h>
 
-# ifdef HAVE_CRYPT_H
+# if defined(HAVE_CRYPT_H) && !defined(HAVE_SECUREWARE)
 #  include <crypt.h>
 # endif
 
@@ -97,7 +98,7 @@ shadow_pw(struct passwd *pw)
                pw_password = spw->sp_pwdp;
 # endif
 
-#if defined(HAVE_LIBIAF)  &&  !defined(BROKEN_LIBIAF)
+#ifdef USE_LIBIAF
        return(get_iaf_password(pw));
 #endif
 
This page took 0.137102 seconds and 4 git commands to generate.