secur32: Handle a new, undefined SECPKG_FLAG value.
Recent Windows versions (current 8.1 and win 10 v1709 or older) started using a new SECPKG_FLAG with the value 0x02000000, but there is no definition in any SDK or online documentation. Signed-off-by: Detlef Riekenberg <wine.dev@web.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b7afaec818
commit
bd678b0b20
|
@ -440,7 +440,9 @@ static void test_kerberos(void)
|
||||||
| SECPKG_FLAG_READONLY_WITH_CHECKSUM;
|
| SECPKG_FLAG_READONLY_WITH_CHECKSUM;
|
||||||
static const ULONG optional_mask =
|
static const ULONG optional_mask =
|
||||||
SECPKG_FLAG_RESTRICTED_TOKENS
|
SECPKG_FLAG_RESTRICTED_TOKENS
|
||||||
| SECPKG_FLAG_APPCONTAINER_CHECKS;
|
| SECPKG_FLAG_APPCONTAINER_CHECKS
|
||||||
|
| 0x02000000; /* not defined in the SDK */
|
||||||
|
|
||||||
|
|
||||||
status = QuerySecurityPackageInfoA(provider, &info);
|
status = QuerySecurityPackageInfoA(provider, &info);
|
||||||
ok(status == SEC_E_OK, "Kerberos package not installed, skipping test\n");
|
ok(status == SEC_E_OK, "Kerberos package not installed, skipping test\n");
|
||||||
|
|
|
@ -171,8 +171,9 @@ SECURITY_STATUS WINAPI AddSecurityPackageW(LPWSTR,SECURITY_PACKAGE_OPTIONS*);
|
||||||
#define SECPKG_FLAG_RESTRICTED_TOKENS 0x00080000
|
#define SECPKG_FLAG_RESTRICTED_TOKENS 0x00080000
|
||||||
#define SECPKG_FLAG_NEGO_EXTENDER 0x00100000
|
#define SECPKG_FLAG_NEGO_EXTENDER 0x00100000
|
||||||
#define SECPKG_FLAG_NEGOTIABLE2 0x00200000
|
#define SECPKG_FLAG_NEGOTIABLE2 0x00200000
|
||||||
#define SECPKG_FLAG_APPCONTAINER_PASSTHROUGH 0x00400000
|
#define SECPKG_FLAG_APPCONTAINER_PASSTHROUGH 0x00400000
|
||||||
#define SECPKG_FLAG_APPCONTAINER_CHECKS 0x00800000
|
#define SECPKG_FLAG_APPCONTAINER_CHECKS 0x00800000
|
||||||
|
#define SECPKG_FLAG_CREDENTIAL_ISOLATION_ENABLED 0x01000000
|
||||||
|
|
||||||
#define SECPKG_ID_NONE 0xffff
|
#define SECPKG_ID_NONE 0xffff
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue