Dmitry Timoshkov : secur32/tests: Add a test for Schannel behaviour with SECPKG_ATTR_NEGOTIATION_INFO query.
Alexandre Julliard
julliard at winehq.org
Thu Dec 14 15:31:52 CST 2017
Module: wine
Branch: master
Commit: dfb09f480780107d6b1c9beb7dadf85db4aadc67
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dfb09f480780107d6b1c9beb7dadf85db4aadc67
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Thu Dec 14 17:19:06 2017 +0800
secur32/tests: Add a test for Schannel behaviour with SECPKG_ATTR_NEGOTIATION_INFO query.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/secur32/tests/schannel.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/secur32/tests/schannel.c b/dlls/secur32/tests/schannel.c
index b5ed169..21ebb62 100644
--- a/dlls/secur32/tests/schannel.c
+++ b/dlls/secur32/tests/schannel.c
@@ -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 */
More information about the wine-cvs
mailing list