secur32/tests: Add a test for Schannel behaviour with SECPKG_ATTR_NEGOTIATION_INFO query.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2017-12-14 17:19:06 +08:00 committed by Alexandre Julliard
parent 09f6e200d9
commit dfb09f4807
1 changed files with 4 additions and 0 deletions

View File

@ -686,6 +686,7 @@ static void test_communication(void)
SecPkgContext_ConnectionInfo conn_info;
SecPkgContext_KeyInfoA key_info;
CERT_CONTEXT *cert;
SecPkgContext_NegotiationInfoA info;
SecBufferDesc buffers[2];
SecBuffer *buf;
@ -939,6 +940,9 @@ todo_wine
status = pQueryContextAttributesA(&context, SECPKG_ATTR_STREAM_SIZES, &sizes);
ok(status == SEC_E_OK, "QueryContextAttributesW(SECPKG_ATTR_STREAM_SIZES) failed: %08x\n", status);
status = QueryContextAttributesA(&context, SECPKG_ATTR_NEGOTIATION_INFO, &info);
ok(status == SEC_E_UNSUPPORTED_FUNCTION, "QueryContextAttributesA returned %08x\n", status);
reset_buffers(&buffers[0]);
/* Send a simple request so we get data for testing DecryptMessage */