]> granicus.if.org Git - sudo/commitdiff
fixed osf problem
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 1 Sep 1994 17:12:48 +0000 (17:12 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 1 Sep 1994 17:12:48 +0000 (17:12 +0000)
check.c

diff --git a/check.c b/check.c
index 811503f1f6dbf44b1a433c738e5cc50ad61e6133..cffbc34944be153e3bdeb328bdd3052c16a0fbd3 100644 (file)
--- a/check.c
+++ b/check.c
@@ -307,7 +307,7 @@ static void check_passwd()
     (void) set_auth_parameters();
     spw_ent = getprpwuid(uid);
     be_user();
-    if (spw_ent && spw_ent -> ufld)
+    if (spw_ent)
        encrypted = spw_ent -> ufld.fd_encrypt;
 #endif /* __osf__ && HAVE_C2_SECURITY */
 #if defined(ultrix) && defined(HAVE_C2_SECURITY)