Commit graph

110 commits

Author SHA1 Message Date
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
Kai Blin
0c3f45eda0 secur32: Avoid double HeapFree() of password and session key. 2006-11-04 12:02:01 +01:00
Rob Shearman
7be4853911 secur32: Make the path to ntlm_auth easier to change by moving the executable name to the top of ntlm.c. 2006-11-02 21:57:20 +01:00
Paul Vriens
dd6c4c6800 secur32: Make sure crashing tests are not run. 2006-10-31 12:05:27 +01:00
Kai Blin
344ce9e69b secur32: Add include guard to hmac_md5.h. 2006-10-20 11:41:18 +02:00
Kai Blin
306048bdeb secur32: Stop leaking the session key memory. 2006-10-16 17:05:23 +02:00
Kai Blin
e338a30e59 secur32: Get rid of NEGO_* helper modes, they will never be used. Negotiate should not be done via ntlm_auth. 2006-10-16 11:27:25 +02:00
Kai Blin
b629b6defd secur32: Implement RFC2104 (HMAC) with MD5 for NTLMv2. 2006-10-16 11:27:15 +02:00
Hans Leidekker
2638e9d467 secur32: Win64 printf format warning fixes. 2006-10-16 10:54:33 +02:00
Francois Gouget
8e38ac5911 secur32: Add missing '\n' in a Wine trace. 2006-10-13 11:20:53 +02:00
Michael Ploujnikov
4b7877d79d secur32/tests: Win64 printf format warning fixes. 2006-10-11 12:09:09 +02:00
Kai Blin
640d87dfc6 secur32: Add support for cached client credentials. 2006-10-06 17:45:52 +02:00
Francois Gouget
82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +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
Andrew Talbot
9c78a93e96 secur32: Cast-qual warnings fix. 2006-09-28 11:56:15 +02:00
Kai Blin
35bf41bc16 secur32: Stop loading Negotiate until it is actually working. 2006-09-25 17:55:22 +02:00
Kai Blin
6ae83720dd secur32: Tell the user if ntlm_auth is not found or outdated. 2006-09-21 19:57:07 +02:00
Alexandre Julliard
32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard
15ccaf545a secur32: Use _exit instead of exit in child process to avoid flushing things twice. 2006-09-12 14:50:33 +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
Alexandre Julliard
5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +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
Kai Blin
2164502322 secur32: Gracefully handle ntlm_auth versions that don't support the new commands. 2006-08-18 11:45:52 +02:00
Paul Vriens
e1b1fa757c secur32: Make tests loadable on NT4. 2006-08-18 11:33:51 +02:00
Kai Blin
c4d5becd6f secur32: Add real signing / verifying to NTLM provider. 2006-08-17 11:38:05 +02:00
Kai Blin
92a86a03e2 secur32: Mask away NTLMv2 and key exchange flags so we never negotiate it for now. 2006-08-17 11:29:22 +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
Robert Reif
1771a550b8 secur32: Partial GetComputerObjectName implementation. 2006-08-16 12:42:50 +02:00
Kai Blin
cc17d97d23 secur32: Add handling of feature flags and session key to AcceptSecurityContext. 2006-08-15 11:54:39 +02:00
Kai Blin
fe43d5d484 secur32: Copy helper buffer to output buffer before reusing helper buffer. 2006-08-15 11:42:55 +02:00
Kai Blin
13050ac11f secur32: Clean up AcceptSecurityContext (reduce indent and duplication). 2006-08-14 20:17:10 +02:00
Kai Blin
c22e98fad0 secur32: Fix heap error. 2006-08-14 12:15:03 +02:00
Kai Blin
3cf9c85f83 secur32: Add handling for SECPKG_CONTEXT_FLAGS to QueryContextAttributes, unify indentation. 2006-08-14 11:58:57 +02:00
Kai Blin
9cd2f28603 secur32: Cast helper to ULONG_PTR instead of DWORD. 2006-08-14 11:58:39 +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
c8c7bf61ad secur32: Make AcceptSecurityContext behaviour consistent with Windows. 2006-08-14 11:55:46 +02:00
Kai Blin
4ff2d893c3 secur32: Implement CompleteAuthToken for NTLM. 2006-08-11 11:55: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
Andrew Talbot
b62bbe5568 secur32: Write-strings warnings fix. 2006-07-19 09:39:54 +02:00
Alexandre Julliard
0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00