]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-windows-fix-kfw-dependency-20050429
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 29 Apr 2005 20:57:19 +0000 (20:57 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 29 Apr 2005 20:57:19 +0000 (20:57 +0000)
if KFW was not installed, pioctl calls could crash

(cherry picked from commit 2a46337042e9aee6ddb3152f8edd892db7ebdeb4)

src/sys/pioctl_nt.c

index 05c150999b60f9ff0668899edb6c6dfdb35741a4..74ab76279ea5f0b8b3df47761304d15316a63674 100644 (file)
@@ -246,8 +246,9 @@ IsKrb5Available()
             hKrb5DLL = 0;
             return FALSE;
         }
+        return TRUE;
     }
-    return TRUE;
+    return FALSE;
 }
 
 static BOOL