]> andersk Git - gssapi-openssh.git/blobdiff - openssh/openbsd-compat/xcrypt.c
shouldn't have been committed to OPENSSH_PORTABLE_DIST branch
[gssapi-openssh.git] / openssh / openbsd-compat / xcrypt.c
index a0fe6c62009d0a433b70998a4daee349831c0a1c..9afa0b9f268a77966e3437e3d097b1d83c6c52b6 100644 (file)
@@ -24,8 +24,6 @@
 
 #include "includes.h"
 
-#if !defined(HAVE_OSF_SIA)
-
 # ifdef HAVE_CRYPT_H
 #  include <crypt.h>
 # endif
@@ -95,6 +93,11 @@ shadow_pw(struct passwd *pw)
        if (spw != NULL)
                pw_password = spw->sp_pwdp;
 # endif
+
+#if defined(HAVE_LIBIAF)  &&  !defined(BROKEN_LIBIAF)
+       return(get_iaf_password(pw));
+#endif
+
 # if defined(HAVE_GETPWANAM) && !defined(DISABLE_SHADOW)
        struct passwd_adjunct *spw;
        if (issecure() && (spw = getpwanam(pw->pw_name)) != NULL)
@@ -108,5 +111,3 @@ shadow_pw(struct passwd *pw)
 
        return pw_password;
 }
-
-#endif /* !defined(HAVE_OSF_SIA) */
This page took 0.121617 seconds and 4 git commands to generate.