* sec_auth.cc (lsaauth): Use CYG_LSA_MAGIC as checksum start value to

decouple from Cygwin release.
This commit is contained in:
Corinna Vinschen 2010-01-29 19:51:11 +00:00
parent cd5401de59
commit 54c4a92634
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-01-29 Corinna Vinschen <corinna@vinschen.de>
* sec_auth.cc (lsaauth): Use CYG_LSA_MAGIC as checksum start value to
decouple from Cygwin release.
2010-01-29 Corinna Vinschen <corinna@vinschen.de>
* libc/strfmon.c (__setup_vars): Test for an empty string rather than

View File

@ -1053,8 +1053,7 @@ lsaauth (cygsid &usersid, user_groups &new_groups, struct passwd *pw)
authinf->inf.DefaultDacl.DefaultDacl = offset;
memcpy ((PBYTE) &authinf->inf + offset, dacl, dsize);
authinf->checksum = CYGWIN_VERSION_MAGIC (CYGWIN_VERSION_DLL_MAJOR,
CYGWIN_VERSION_DLL_MINOR);
authinf->checksum = CYG_LSA_MAGIC;
PDWORD csp;
PDWORD csp_end;
csp = (PDWORD) &authinf->username;