schannel/tests: Fix crash on Win7

Ge van Geldorp ggeldorp at vmware.com
Mon Aug 24 07:27:26 CDT 2009


The Win7 SDK adds 6 more functions to SECPKG_FUNCTION_TABLE and a couple
of SECKPKG_INTERFACE_VERSION_x defines to indicate the actual size of the
table. Unfortunately it seems that Win7 SpLsaModeInitialize returns an
incorrect version (bug). We need to detect that to prevent a crash.

Changelog:
  schannel/tests: Fix crash on Win7

---
 dlls/schannel/lsamode.c    |   14 +++++++++++++-
 dlls/schannel/tests/main.c |   35 ++++++++++++++++++++++++++++++++---
include/ntsecpkg.h         |   29 +++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+), 4 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8e38a16739c7685d5e065300010c95e96ea74b85.diff
Type: text/x-patch
Size: 7537 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090824/b6ef2113/attachment-0001.bin>


More information about the wine-patches mailing list