]> granicus.if.org Git - sudo/commitdiff
no more SPW_HPUX10
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 14 Jul 1996 01:05:00 +0000 (01:05 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 14 Jul 1996 01:05:00 +0000 (01:05 +0000)
getspwuid.c

index 8f3e83c7495cada01c61ae774c983814db00aa7d..a081c9948269105a21e6b56702cf655f0fc957b9 100644 (file)
@@ -57,7 +57,11 @@ static char rcsid[] = "$Id$";
 #    include <shadow.h>
 #  endif /* SVR4 */
 #  if (SHADOW_TYPE == SPW_SECUREWARE)
-#    include <sys/security.h>
+#    ifndef __hpux
+#      include <hpsecurity.h>
+#    else
+#      include <sys/security.h>
+#    endif /* __hpux */
 #    include <prot.h>
 #  endif /* SECUREWARE */
 #  if (SHADOW_TYPE == SPW_ULTRIX4)
@@ -144,7 +148,7 @@ static char *sudo_getspwd(pw_ent)
        return(pw_ent -> pw_passwd);
 }
 #  endif /* SVR4 */
-#  if (SHADOW_TYPE == SPW_HPUX9 || SHADOW_TYPE == SPW_HPUX10)
+#  if (SHADOW_TYPE == SPW_HPUX9)
 {
     struct s_passwd *spw_ent;
 
@@ -153,7 +157,7 @@ static char *sudo_getspwd(pw_ent)
     else
        return(pw_ent -> pw_passwd);
 }
-#  endif /* HPUX9 || HPUX10 */
+#  endif /* HPUX9 */
 #  if (SHADOW_TYPE == SPW_SUNOS4)
 {
     struct passwd_adjunct *spw_ent;