Commit Graph

134 Commits

Author SHA1 Message Date
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
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Rob Shearman 693433a3f2 secur32: Simplify memory management by not allocating memory for the CredHandle and CtxtHandle pointers.
Instead store the handles directly in the SspiData structure and pass
the addresses of these into SSPI functions.
2009-12-30 13:40:25 +01:00
Rob Shearman 5f01280edf secur32: Fix memory leaks in tests. 2009-12-30 13:40:17 +01:00
Hans Leidekker 44f9595454 secur32/tests: Fix a couple of memory leaks.
Found by Valgrind.
2009-12-21 15:01:24 +01:00
Rob Shearman f6c9c72e21 secur32: Output extra data in NTLM sign & seal test to diagnose failures seen on some Windows machines. 2009-11-09 19:38:58 +01:00
Kai Blin e987ec4299 secur32: Use empty credentials when cached creds fail. 2009-11-09 19:38:00 +01:00
Ge van Geldorp 43a28649c3 secur32/tests: Add acceptable error code for Win7 ntlm test. 2009-10-06 12:00:32 +02:00
Hans Leidekker 8bb68933ea secur32: Test passing null authentication data to AcquireCredentialsHandle. 2009-10-06 11:58:19 +02:00
Paul Vriens 7b3213fd65 secur32/tests: Skip some tests on WinMe to avoid a crash. 2009-10-02 11:52:12 +02:00
Austin English 07c214170d secur32/tests: Sign compare fixes. 2009-05-11 12:47:48 +02:00
Ge van Geldorp 74dba4e602 secur32/tests: Fix GetUserNameEx() tests. 2009-04-14 15:20:30 -05:00