From: Jeffrey Altman Date: Mon, 26 Jul 2004 07:04:18 +0000 (+0000) Subject: cc_mslsa.c: fix is_windows_xp not to return true for windows 2000 X-Git-Tag: krb5-1.4-beta1~184 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=497ede486c6d64ed4f43bf8a932f44686b628e37;p=krb5.git cc_mslsa.c: fix is_windows_xp not to return true for windows 2000 ticket: 2645 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16624 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index c2a7e451a..fe04a96df 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,3 +1,8 @@ +2004-07-25 Jeffrey Altman + + * cc_mslsa.c: is_windows_xp() should test for major version + > 5 not >= 5. + 2004-07-18 Ezra Peisach * cc_memory.c (krb5_mcc_store): When allocating krb5_mcc_link diff --git a/src/lib/krb5/ccache/cc_mslsa.c b/src/lib/krb5/ccache/cc_mslsa.c index 0a8b7d33b..a32359ac3 100644 --- a/src/lib/krb5/ccache/cc_mslsa.c +++ b/src/lib/krb5/ccache/cc_mslsa.c @@ -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; }