Author: akhaldi
Date: Tue Dec 11 13:41:44 2012
New Revision: 57879
URL:
http://svn.reactos.org/svn/reactos?rev=57879&view=rev
Log:
[SCHANNEL_WINETEST]: Sync with Wine 1.5.19.
Modified:
trunk/rostests/winetests/schannel/CMakeLists.txt
trunk/rostests/winetests/schannel/main.c
Modified: trunk/rostests/winetests/schannel/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/schannel/CMakeL…
==============================================================================
--- trunk/rostests/winetests/schannel/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/schannel/CMakeLists.txt [iso-8859-1] Tue Dec 11 13:41:44
2012
@@ -1,8 +1,5 @@
-add_definitions(
- -D__ROS_LONG64__
- -D_DLL -D__USE_CRTIMP)
-
+add_definitions(-D__ROS_LONG64__)
add_executable(schannel_winetest main.c testlist.c)
target_link_libraries(schannel_winetest wine)
set_module_type(schannel_winetest win32cui)
Modified: trunk/rostests/winetests/schannel/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/schannel/main.c…
==============================================================================
--- trunk/rostests/winetests/schannel/main.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/schannel/main.c [iso-8859-1] Tue Dec 11 13:41:44 2012
@@ -44,6 +44,17 @@
#define SECPKG_FUNCTION_TABLE_SIZE_5 FIELD_OFFSET(SECPKG_FUNCTION_TABLE, \
ValidateTargetInfo)
#define SECPKG_FUNCTION_TABLE_SIZE_6 sizeof(SECPKG_FUNCTION_TABLE)
+
+#define LSA_BASE_CAPS ( \
+ SECPKG_FLAG_INTEGRITY | \
+ SECPKG_FLAG_PRIVACY | \
+ SECPKG_FLAG_CONNECTION | \
+ SECPKG_FLAG_MULTI_REQUIRED | \
+ SECPKG_FLAG_EXTENDED_ERROR | \
+ SECPKG_FLAG_IMPERSONATION | \
+ SECPKG_FLAG_ACCEPT_WIN32_NAME | \
+ SECPKG_FLAG_STREAM | \
+ SECPKG_FLAG_MUTUAL_AUTH )
static NTSTATUS (NTAPI *pSpLsaModeInitialize)(ULONG, PULONG,
PSECPKG_FUNCTION_TABLE*, PULONG);
@@ -179,8 +190,9 @@
/* First package: Unified */
status = pTables->GetInfo(&PackageInfo);
ok(status == STATUS_SUCCESS, "status: 0x%x\n", status);
- ok(PackageInfo.fCapabilities == 0x107b3, "fCapabilities: 0x%x\n",
- PackageInfo.fCapabilities);
+ ok(PackageInfo.fCapabilities == LSA_BASE_CAPS ||
+ PackageInfo.fCapabilities ==
(LSA_BASE_CAPS|SECPKG_FLAG_APPCONTAINER_PASSTHROUGH),
+ "fCapabilities: 0x%x\n", PackageInfo.fCapabilities);
ok(PackageInfo.wVersion == 1, "wVersion: %d\n", PackageInfo.wVersion);
ok(PackageInfo.wRPCID == 14, "wRPCID: %d\n", PackageInfo.wRPCID);
ok(PackageInfo.cbMaxToken == 0x4000 ||
@@ -204,7 +216,7 @@
if (status == STATUS_SUCCESS)
{
- ok(PackageInfo.fCapabilities == 0x107b3, "fCapabilities: 0x%x\n",
+ ok(PackageInfo.fCapabilities == LSA_BASE_CAPS, "fCapabilities:
0x%x\n",
PackageInfo.fCapabilities);
ok(PackageInfo.wVersion == 1, "wVersion: %d\n", PackageInfo.wVersion);
ok(PackageInfo.wRPCID == 14, "wRPCID: %d\n", PackageInfo.wRPCID);