Commit graph

411 commits

Author SHA1 Message Date
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
Alexandre Julliard
52e68a7823 secur32: Avoid ssize_t type that causes printf format warnings. 2015-08-17 15:34:35 +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
cae3f98c69 secur32: Fixed compilation on very old gnutls versions. 2015-06-18 21:41:02 +09:00
Jacek Caban
72747526b1 secur32: Fixed compilation on with gnutls. 2015-06-17 20:01:30 +09:00
Jacek Caban
dedbd18836 secur32: Use gnutls_cipher_get_block_size to get cupher block size. 2015-06-16 23:56:46 +09:00
Jacek Caban
3617e2b2a9 secur32: Added support for a few more algorithms in schannel_get_cipher_algid. 2015-06-16 23:56:45 +09:00
Alexandre Julliard
f54a9f4db4 secur32: Add a loop around gnutls_record_send since it may send a partial record. 2015-04-29 13:07:54 +09:00
Bruno Jesus
0fbbb1297d secur32: Don't try to set an empty target name in schan_InitializeSecurityContextW.
Based on original patch by Nikos Mavrogiannopoulos.
2015-04-09 13:25:04 +09:00
Sebastian Lackner
8729575112 secur32: Return more context attributes in schan_InitializeSecurityContextW. 2015-04-06 18:06:17 +09:00
Francois Gouget
1d7f2c318a secur32: Mark internal symbols with hidden visibility. 2015-04-01 14:13:30 +09:00
Francois Gouget
3604629361 secur32: Export SetContextAttributes[AW](). 2015-03-16 15:04:12 +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
Bruno Jesus
54b5660378 secur32: Always tell the user that libgnutls could not be loaded. 2015-01-05 20:29:19 +01:00
André Hentschel
b8719ff852 secur32: Declare debug channels only when needed (Clang). 2014-12-04 14:03:25 +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
Marcus Meissner
877f1a759e secur32: Removed superflous NULL check (Coverity). 2014-07-22 12:40:40 +02:00
Jacek Caban
293c53e22f secur32: Fixed schannel tests on Windows 8.1. 2014-04-16 14:38:16 +02:00
Dmitry Timoshkov
8df0479870 secur32: Also recognize samba4 failure message if ntlm_auth could not connect to winbindd. 2014-04-14 20:19:01 +02:00
Jacek Caban
29a409b222 secur32/tests: Fixed tests with new winehq.org setup. 2014-03-03 17:02:53 +01:00
Aric Stewart
3218cc077e secur32: Return success on graceful close of SSL connection. 2014-02-22 08:40:40 -06:00
Alexandre Julliard
cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Alexandre Julliard
8aa64e3580 configure: Automatically expand _CFLAGS and _LIBS variables in all makefiles. 2014-01-30 12:42:56 +01:00
Jacek Caban
e3fa52a636 secur32: Ignore GNUTLS_A_UNRECOGNIZED_NAME warning alert. 2014-01-28 19:38:45 +01:00
Dmitry Timoshkov
bc59d7e830 secur32: Slightly simplify the GetUserNameExW implementation. 2014-01-13 17:37:46 +01:00
Alexandre Julliard
99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard
5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +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
4d97b32323 secur32: Cache certificate context instead of store in schannel handle. 2013-10-21 21:06:17 +02: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
6c2f7d01c8 secur32: Don't use deprecated gnutls_certificate_credentials. 2013-06-28 19:41:33 +02:00
Alexandre Julliard
c518801495 secur32: Set the SSL server name to enable the SNI extension. 2013-06-13 17:10:02 +02:00
Alexandre Rostovtsev
fee9cd3b24 configure: In gnutls-3.2, gnutls_mac_get_key_size() moved to crypto.h.
Based on a patch by Ben Kohler <bkohler@gmail.com>.
2013-06-11 11:37:21 +02:00
Alexandre Julliard
b7cdc0afde secur32: Don't bother to free memory at process exit. 2013-05-15 10:26:18 +02:00
Alexandre Julliard
1470c5c3c1 configure: Use the pkg-config helper macro for gnutls. 2013-05-03 20:45:11 +02:00
Jacek Caban
930bf0016d secur32: Added support for TLS 1.1 and TLS 1.2 on Mac. 2013-04-17 14:26:30 +02:00
Jacek Caban
194cc70fbe secur32: Disable SSL2 protocol in default settings. 2013-04-01 12:18:55 +02:00
Jacek Caban
8036bd14f9 secur32: Pass enabled protocols to Mac Secure Transport. 2013-04-01 12:15:41 +02:00
Jacek Caban
66f80b57a4 secur32: Pass enabled protocols to GnuTLS. 2013-04-01 12:15:37 +02:00