Commit Graph

146 Commits

Author SHA1 Message Date
Jacek Caban 8a29c57fd2 secur32/tests: Don't load secur32.dll function dynamically in negotiate.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 11:18:30 +09:00
Jacek Caban 76507e0ed2 secur32/tests: Don't load crypt32.dll function dynamically.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 23:50:22 +09:00
Jacek Caban 6032480124 secur32/tests: Don't load advapi32.dll function dynamically.
They are available since XP.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 01:02:59 +09:00
Alistair Leslie-Hughes ee7bc087fd secur32/tests: Add AcquireCredentialsHandleW tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-26 22:14:54 +09:00
Alexandre Julliard a0fe286174 secur32/tests: Relax the certificate check a little.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-24 23:11:08 +09:00
Andrey Gusev fd040fc9d9 secur32/tests: Fix a typo in ok() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 17:36:07 +09:00
Jacek Caban 599b19a831 secur32/tests: Added missing flags handling to testEnumerateSecurityPackages.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 13:45:24 +09:00
André Hentschel 63b392b144 secur32: Ignore pfQOP in VerifySignature (Clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-25 14:05:45 +01:00
Alexandre Julliard 9ab03dd7bb secur32/tests: Don't check the exact number of cipher bits.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:27 +01:00
Aric Stewart e8d54db727 secur32/tests: Handle skip cleanup in negotiate more cleanly.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2015-10-01 16:34:37 +09:00
Hans Leidekker 419362c851 secur32: Implement a couple of identity helper functions. 2015-08-17 14:46:24 +09:00
Jacek Caban bca49f1403 secur32: Added SECPKG_ATTR_SUPPORTED_ALGS tests. 2015-07-03 12:46:44 +09:00
Jacek Caban 48ea8a1cb4 secur32/tests: Don't call InitializeSecurityContext on an uninitialized buffer.
Also documents failure on an invalid buffer.
2015-01-22 17:31:44 +01:00
Hans Leidekker 5a6558b854 secur32/tests: Switch requested protocol from SSL3 to TLS1. 2014-10-21 18:49:58 +09:00
Alexandre Julliard 0ff2fb8a4f secur32/tests: Update test for the new certificate on winehq.org. 2014-09-25 16:08:05 +02:00
Nikolay Sivov 58a4aa5954 secur32/tests: Remove duplicated expression (PVS-Studio). 2014-08-18 12:45:14 +02:00
Alexandre Julliard d0d6dcb70e secur32/tests: Include winsock2.h before other headers. 2014-07-24 20:10:28 +02:00
Jacek Caban 293c53e22f secur32: Fixed schannel tests on Windows 8.1. 2014-04-16 14:38:16 +02:00
Jacek Caban 29a409b222 secur32/tests: Fixed tests with new winehq.org setup. 2014-03-03 17:02:53 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy 9ad67a9a8e secur32/tests: Constify a character string. 2013-12-30 19:01:37 +01:00
Dmitry Timoshkov 25a0375432 secur32/tests: Add a test for QueryCredentialsAttributes(SECPKG_CRED_ATTR_NAMES). 2013-12-13 16:21:08 +01:00
Dmitry Timoshkov 476f57fd63 secur32/tests: Make sure that QueryContextAttributes(SECPKG_ATTR_STREAM_SIZES) succeeds. 2013-12-13 14:37:42 +01:00
Dmitry Timoshkov 79511d98b7 secur32/tests: Use LoadLibrary instead of GetModuleHandle to load advapi32.dll APIs. 2013-12-13 14:37:40 +01:00
Jacek Caban 00e53de765 secur32: Compile tests with __WINESRC__ define. 2013-10-10 13:33:50 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
André Hentschel 3a0961aced secur32/tests: Better defined InitializeSecurityContext tests. 2013-08-28 11:30:31 +02:00
Alexandre Julliard 55e37bdbf3 secur32/tests: Run the tests against the winehq.org server. 2013-07-30 14:43:36 +02:00
Jacek Caban 79c5d5cc17 secur32: Added SECPKG_ATTR_SUPPORTED_PROTOCOLS tests. 2013-03-27 20:12:29 +01:00
Jacek Caban 64c84ef5c4 secur32: Report SecPkgContext_ConnectionInfo in bits, not bytes. 2013-02-27 19:23:36 +01:00
Jacek Caban 63c7f8d8ee secur32: Added SECPKG_ATTR_REMOTE_CERT_CONTEXT tests. 2013-01-21 16:19:35 +01:00
André Hentschel 1eaa25696b secur32/tests: Fix tests on win8. 2012-12-07 17:26:40 +01:00
Henri Verbeet 394519db67 secur32: Handle incomplete messages in schan_InitializeSecurityContextW(). 2012-06-26 17:32:40 +02:00
Hans Leidekker cb90e6b1a6 secur32/tests: Add tests for the Negotiate provider. 2012-05-10 18:43:38 +02:00
Alexandre Julliard ee1e1f0fdb secur32/tests: Don't compare the encrypted results if the session key is different. 2012-01-03 23:28:13 +01:00
André Hentschel 962230064d secur32/tests: Fail on missing NTLM. 2011-12-20 20:24:47 +01:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Alexandre Julliard 0359f9d430 secur32/tests: Avoid crash on test failure. 2011-09-09 15:53:49 +02:00
Austin English 9c84bfa9a4 secur32/tests: Remove win9x hacks. 2011-03-01 13:21:58 +01:00
Austin English 1c659a5509 secur32/tests: Make sure return values are used (LLVM/Clang). 2011-02-11 14:49:41 +01:00
Austin English 7868edd86e secur32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-10 10:28:00 -06:00
Austin English 22c1843e08 secur32/tests: Make sure a return value is used (LLVM/Clang). 2011-02-09 09:29:13 -06:00
Ken Thomases cf2de431ac secur32/tests: Fix copy/paste error in test message ("first" -> "third"). 2011-01-21 12:25:06 +01:00
Aric Stewart fe05a73042 secur32/tests: Skip test on failure to acquire cred_handle. 2010-12-02 18:57:57 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Piotr Caban ab52186086 secur32: Prevent schannel tests from crashing on Windows NT. 2010-09-18 13:09:33 +02:00
Piotr Caban cdf8d455c2 secur32: Handle extra data in schan_InitializeSecurityContextW. 2010-09-18 13:05:30 +02:00
Mikko Rasa f2377e8981 secur32: Add some more schannel tests. 2010-09-15 16:36:45 -05:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00