Commit Graph

107 Commits

Author SHA1 Message Date
Paul Vriens fe7e83fd0c secur32/tests: Use skip when functions are not available. 2007-07-05 19:54:38 +02:00
Rob Shearman 98820d4ef4 secur32: Add tests for multiple use of a credential handle. 2007-07-04 13:42:44 +02:00
Rob Shearman aa1be492cd secur32: Fix NTLM's InitializeSecurityContextA/W to be flexible with the index of the token buffer in both the input and output buffer descriptions. 2007-05-25 20:17:11 +02:00
Rob Shearman 4d275bcf10 secur32: Don't set the output buffer type in NTLM's IntializeSecurityContextA/W. 2007-05-25 20:16:58 +02:00
Rob Shearman 661b49785e secur32: Make the NTLM SSP cope with a NULL phCredential parameter when InitializeSecurityContext is called more than once. 2007-05-25 20:16:42 +02:00
Rob Shearman 087eedc3f5 secur32: Fix the dwVersion field in the security function tables returned by InitSecurityInterfaceA/W. 2007-05-25 19:30:04 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Kai Blin df3a7a7b43 secur32: Check for actual return value on invalid QuerySecurityPackageInfo call. 2007-03-08 13:54:06 +01:00
Rob Shearman b814c45f00 secur32: NTLM's AcquireCredentialHandleA/W should accept domains and usernames with lengths of 0.
Add tests for these cases.
2007-03-06 21:59:39 +01:00
Kai Blin 0210f5eb1d secur32: Use skip for skipped tests, reduce indentation. 2007-03-05 12:08:13 +01:00
Paul Vriens 7ba9ee9e76 secur32/tests: Fix compilation for older gcc versions (and MinGW). 2007-01-15 14:39:10 +01:00
Paul Vriens 6c3efd1c32 secur32/tests: Cast-qual warning fixes. 2007-01-12 20:41:17 +01:00
Andrew Talbot 2ec6c1bf96 secur32/tests: Cast-qual warnings fix. 2006-12-15 12:19:00 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Kai Blin 1037e20bc7 secur32: Fix handling of ISC_REQ* flags in InitializeSecurityContext. 2006-11-14 11:34:19 +01:00
Francois Gouget ea483682c5 secur32: sspi.h must not include wtypes.h. 2006-11-08 12:11:00 +01:00
Kai Blin 3af72bec1e secur32: Test and fix DecryptMessage for multiple data buffers. 2006-11-06 13:47:29 +01:00
Kai Blin cd8332ae1c secur32: Fix handling of buffers that don't have the SECBUFFER_TOKEN as the first buffer.
Thanks to Robert Shearman for catching this one and providing some of the test code.
2006-11-04 12:07:05 +01:00
Kai Blin e1bfe4c18a secur32: Get rid of some HeapAlloc() calls to make code more readable. 2006-11-04 12:02:06 +01:00
Paul Vriens dd6c4c6800 secur32: Make sure crashing tests are not run. 2006-10-31 12:05:27 +01:00
Michael Ploujnikov 4b7877d79d secur32/tests: Win64 printf format warning fixes. 2006-10-11 12:09:09 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Kai Blin 98aeac78fc secur32: Fix DecryptMessage for the dummy case. 2006-09-08 11:02:25 +02:00
Kai Blin 85655db106 secur32: Fix generation of the session key. 2006-09-08 11:02:17 +02:00
Robert Reif de0619e3a7 secur32: Fix secur32 test to pass on windows. 2006-08-26 18:55:35 +02:00
Kai Blin bfa5967366 secur32: Initial working implementation of EncryptMessage and DecryptMessage. 2006-08-21 12:08:30 +02:00
Paul Vriens e1b1fa757c secur32: Make tests loadable on NT4. 2006-08-18 11:33:51 +02:00
Robert Reif 51c7c030ee secur32: Fix GetComputerObjectName tests based on feedback from Paul Vriens. 2006-08-16 16:43:27 +02:00
Robert Reif e86828a072 secur32: Add GetComputerObjectName tests. 2006-08-16 12:48:08 +02:00
Kai Blin 8289ddb0d1 secur32: Implement simple VerifySignature. 2006-08-14 11:58:25 +02:00
Kai Blin 9b480ef06e secur32: Implement simple MakeSignature. 2006-08-14 11:58:17 +02:00
Kai Blin d2989cc32d secur32: Make ntlm tests run on both WinXP and Win2k. 2006-08-09 17:12:14 +02:00
Kai Blin a71cf8446f secur32: Add tests for MakeSignature, VerifySignature, EncryptMessage and DecryptMessage. 2006-08-09 17:10:37 +02:00
Kai Blin c62193266d secur32: Move NTLM tests to ntlm.c to avoid cluttering main.c with NTLM-specific tests. 2006-08-09 11:20:03 +02:00
Andrew Talbot 8e2d28dd25 secur32/tests: Write-strings warnings fix. 2006-08-07 13:10:25 +02:00
Juan Lang 866969ed2b secur32: Improve schannel's AcquireCredentialsHandle, with tests. 2006-07-28 12:36:39 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Kai Blin 9d5e09d748 secur32: Implement QueryContextAttributes. Add tests. 2006-06-16 11:31:23 +02:00
Kai Blin be4d1fea4d secur32: Don't fail on SECURITY_NETWORK_DREP, ntlm_auth handles this just fine. 2006-06-03 11:45:41 +02:00
Kai Blin b1049be48f secur32: Cleaning up the authentication tests.
This should make it easier to add encryption tests later.
2006-05-28 18:14:05 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Stefaniuc a87520036f janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Dmitry Timoshkov d89a038287 secur32: Fix some wrong assumptions in the NTLM test case, make it pass in XP SP2 and Wine. 2006-05-05 20:23:17 +02:00
Francois Gouget d0c5f1498c Add trailing '\n's to ok() and trace() calls. 2006-02-06 20:58:14 +01:00
Kai Blin 49943c9cf4 secur32: Rewrote NTLM tests in a more flexible way. 2006-01-03 12:06:21 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Ivan Leo Puoti 372a281c24 Make secur32.dll tests load on nt 4.0. 2005-10-26 10:09:53 +00:00
Francois Gouget 10f72c719b Add trailing '\n's to ok() calls. 2005-09-26 09:52:25 +00:00
Alexandre Julliard 63a643e50f Authors: James Hawkins <truiken@gmail.com>, Juan Lang <juan_lang@yahoo.com>
Use a standard wine list for packages and providers.
2005-08-30 08:55:20 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Francois Gouget fae73a1090 Assorted spelling fixes. 2005-08-17 09:56:24 +00:00
Kai Blin ece9de5aaa Added Negotiate security provider dummy. Removed todos from the test. 2005-08-15 20:52:18 +00:00
Kai Blin 6970dbc7cf Added more secur32.dll tests and fixed missing constants in
winerror.h.
2005-08-11 17:08:06 +00:00
Kai Blin 84fb7913f9 Set up tests for secur32. 2005-08-03 13:08:49 +00:00