Commit Graph

224 Commits

Author SHA1 Message Date
Juan Lang
f3968fdf80 winhttp/tests: Skip tests when a connection fails. 2010-06-08 12:59:09 +02:00
Juan Lang
b659dee999 winhttp: Honor security flags when verifying a certificate. 2010-05-18 08:48:35 +02:00
Juan Lang
2a569a9e89 winhttp: Store a pointer to the netconn_t in the SSL context. 2010-05-18 08:48:29 +02:00
Juan Lang
7c7d00a12f winhttp: Store security flags in netconn_t. 2010-05-18 08:48:21 +02:00
Michael Stefaniuc
eb558c4403 winhttp: Remove redundant "not 0" test of argument len. 2010-05-17 12:42:33 +02:00
Michael Stefaniuc
8e8f743cb0 winhttp: Remove redundant "not NULL" check for the "server" arg. 2010-05-17 12:42:33 +02:00
Hans Leidekker
41e147e68f winhttp: Support setting security flags on request handles. 2010-05-14 18:03:03 +02:00
Paul Vriens
f8470fe408 winhttp/tests: Show the correct error. 2010-05-08 13:12:58 +02:00
Hans Leidekker
15daa84b28 winhttp/tests: Avoid test failures caused by broken DNS server configurations.
Reported by Stefan Dösinger.
2010-04-22 18:11:42 +02:00
Hans Leidekker
6842c7d8a8 winhttp/tests: Use the right handle type. 2010-04-22 18:11:42 +02:00
Hans Leidekker
cd79874cee winhttp: Add tests for basic authentication. 2010-04-22 18:11:42 +02:00
Hans Leidekker
f4dff734d4 winhttp: Add support for basic authentication. 2010-04-22 18:11:42 +02:00
Hans Leidekker
24e1fcc7a0 winhttp: Support setting and querying credentials on request handles. 2010-04-22 18:11:42 +02:00
Maciej Borsz
2ca477c831 winhttp: Fix invalid behaviour of WinHttpCrackUrl. 2010-03-17 10:59:59 +01:00
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Hans Leidekker
bcc4040dcf winhttp: Implement WINHTTP_QUERY_STATUS_TEXT. 2010-03-05 13:14:50 +01:00
Hans Leidekker
b467efb5c8 winhttp: Add support for resolve timeouts. 2010-02-22 13:15:56 +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
Hans Leidekker
33e522eec6 winhttp/tests: Wait for a handle closing notification.
Fixes a Valgrind warning.
2010-02-17 10:57:53 +01:00
Matijn Woudt
3ed5df1e3c winhttp: Implement WINHTTP_OPTION_{CONNECT, SEND, RECEIVE}_TIMEOUT. 2010-01-29 17:28:18 +01:00
Matijn Woudt
d0983e9ec2 winhttp: Add timeout for session handles and implement for WinHttpSetTimeouts. 2010-01-29 17:28:03 +01:00
Matijn Woudt
a09e659a37 winhttp/tests: Add timeout tests for WinHttp{Set, Query}Option. 2010-01-29 17:27:30 +01:00
Matijn Woudt
5a712037af winhttp/tests: Add tests for WinHttpSetTimeouts. 2010-01-28 12:13:27 +01:00
Marcus Meissner
a01d392153 winhttp: On NULL request, skip the other tests (Coverity). 2010-01-28 11:09:10 +01:00
Hans Leidekker
e4471d5f80 winhttp: Store the context passed to WinHttpSendRequest. 2010-01-25 14:05:11 +01:00
Hans Leidekker
4b5f14f5f4 winhttp: Adjust connect timeout to the value observed on Windows. 2010-01-25 13:02:45 +01:00
Reece Dunn
a2c41b72f8 Don't generate FIXME warnings for DllCanUnloadNow. 2010-01-06 10:59:51 +01:00
Alexandre Julliard
07062b0340 winhttp: Fix pointer cast warnings on 64-bit. 2009-12-24 12:15:40 +01:00
Juan Lang
888d1a2323 winhttp: Set error and fail if a secure connections certificate couldn't be verified. 2009-12-15 11:44:39 +01:00
Juan Lang
1308c4287f winhttp: Return error directly from netconn_verify_cert. 2009-12-15 11:44:28 +01:00
Juan Lang
c02ee18869 winhttp/tests: Skip secure connection tests if the request fails. 2009-12-14 12:04:03 +01:00
Juan Lang
72025026db winhttp: Don't call a function whose result is never used. 2009-12-14 12:04:03 +01:00
Juan Lang
9352509eb2 winhttp: Free OpenSSL error strings at unload. 2009-12-11 17:47:30 +01:00
Juan Lang
b0f5b96efe winhttp/tests: Only free a certificate context if retrieving it succeeded. 2009-12-09 13:13:49 +01:00
Juan Lang
1becda464d winhttp: Fix test error when run as non-administrator. 2009-12-09 12:02:39 +01:00
Marcus Meissner
298051ab37 winhttp: Check for endCert being NULL (Coverity). 2009-12-08 12:37:10 +01:00
Francois Gouget
0b9a4ae341 winhttp: Fix compilation on systems that don't support nameless unions. 2009-12-07 14:18:24 +01:00
Juan Lang
a5facc9bda winhttp: Use sk_ functions rather than accessing an OpenSSL stack type directly. 2009-12-07 09:49:07 +01:00
Huw Davies
24b437942e winhttp: Load X509_STORE_CTX_get_ex_data from libcrypto not libssl. 2009-12-07 09:49:07 +01:00
Juan Lang
82d07c4051 winhttp: Check the certificate in an https connection using the crypto api. 2009-12-04 12:04:59 +01:00
Juan Lang
48a7580135 winhttp: Set callback to verify hostname with peer's certificate. 2009-12-04 12:03:55 +01:00
Juan Lang
be8f2ae98e winhttp: Store hostname for secure connection in its SSL context. 2009-12-04 12:03:47 +01:00
Juan Lang
a33c4bfd0b winhttp: Pass hostname to netconn_secure_connect. 2009-12-04 12:02:50 +01:00
Hans Leidekker
846cc2b157 winhttp: Implement WinHttpQueryHeaders(WINHTTP_QUERY_VERSION). 2009-10-29 13:51:20 +01:00
Hans Leidekker
39b1dbed7a winhttp: Accept empty headers parameter in WinHttpSendRequest. 2009-10-29 13:51:14 +01:00
Hans Leidekker
629fd8fcbc winhttp: Clean up locks after closing libssl and libcrypto.
SSL_CTX_free() triggers a call to the locking callback.
Found by valgrind.
2009-10-27 10:53:28 +01:00
Hans Leidekker
253d2c17d6 winhttp: Implement HTTP_OPTION_PARENT_HANDLE for connection handles. 2009-10-26 11:20:18 +01:00
Hans Leidekker
ec0a0b372e winhttp: Fix two memory leaks.
Found by valgrind.
2009-10-21 17:05:38 +02:00
Hans Leidekker
45b6cf8355 winhttp/tests: Free the certificate context after use.
Found by valgrind.
2009-10-21 17:05:26 +02:00
Hans Leidekker
6732d5dfd7 winhttp: Correct SSL lock size and make sure we free as many as we allocated.
Found by valgrind.
2009-10-21 17:04:42 +02:00