cc_mslsa.c: fix is_windows_xp not to return true for windows 2000
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 26 Jul 2004 07:04:18 +0000 (07:04 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 26 Jul 2004 07:04:18 +0000 (07:04 +0000)
ticket: 2645
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16624 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ChangeLog
src/lib/krb5/ccache/cc_mslsa.c

index c2a7e451a32f591f3a3d0d9d0710a1043e3178ba..fe04a96df0741050a9628462b110b3359d9f88d7 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-25  Jeffrey Altman <jaltman@mit.edu>
+
+    * cc_mslsa.c:  is_windows_xp() should test for major version 
+        > 5 not >= 5. 
+
 2004-07-18  Ezra Peisach  <epeisach@mit.edu>
 
        * cc_memory.c (krb5_mcc_store): When allocating krb5_mcc_link
index 0a8b7d33b0f2fbfdecd5590115b09f826c1310ed..a32359ac30ceba246581fc86730a586280dd87db 100644 (file)
@@ -116,7 +116,7 @@ is_windows_xp (void)
        if (GetVersionEx (&Version))
        {
            if (Version.dwPlatformId == VER_PLATFORM_WIN32_NT &&
-                (Version.dwMajorVersion >= 5 ||
+                (Version.dwMajorVersion > 5 ||
                  Version.dwMajorVersion == 5 && Version.dwMinorVersion >= 1) )
                fIsWinXP = TRUE;
        }