Commit Graph

101 Commits

Author SHA1 Message Date
Hans Leidekker 72273a0786 wininet: Implement the connect timeout. 2012-01-16 12:16:30 +01:00
Francois Gouget 17929b925e wininet: Give a name to the critical sections, make them static and delete them when unloading the dll. 2011-11-16 17:02:22 +01:00
Piotr Caban e80e73586d wininet: Make it possible to ignore CERT_TRUST_IS_PARTIAL_CHAIN error in netconn_verify_cert. 2011-09-14 09:58:39 +02:00
Jerome Leclanche f30616e257 wininet: Fix a warning when compiling --without-openssl. 2011-06-20 19:32:02 +02:00
Jacek Caban adf08d586d wininet: A small netconn_secure_verify code clean up. 2011-06-10 15:28:46 +02:00
Hans Leidekker 9acd1ef15f wininet: Consistently use the allocation macros. 2011-06-01 15:16:53 +02:00
Jacek Caban c280970c3e wininet: Set TCP_NODELAY on socket. 2011-05-11 14:56:49 +02:00
Jacek Caban 8a1df203ae wininet: Added support for persistent HTTP connections. 2011-05-10 18:57:23 +02:00
Jacek Caban 4c1c5fe64c wininet: Moved connected check out of NETCON_set_timeout. 2011-05-04 17:26:51 +02:00
Jacek Caban e594268421 wininet: Moved OpenSSL initialization to separated function. 2011-04-28 18:33:43 +02:00
Jacek Caban 12bf3472dd wininet: Rename WININET_NETCONNECTION to netconn_t. 2011-04-28 18:33:10 +02:00
Jacek Caban 354a74e004 wininet: Use wrappers for HeapAlloc calls. 2011-04-21 16:53:42 +02:00
Alexandre Julliard 5b4be5d4c3 wininet: Use an accessor function instead of directly accessing the X509_STORE_CTX structure. 2011-04-20 16:28:27 +02:00
Jacek Caban 59bcbb2d8b wininet: Fixed race in SSL connection handling. 2011-01-20 12:19:30 +01:00
David Hedberg 3ce9304592 wininet: Respect SECURITY_FLAG_IGNORE_CERT_DATE_INVALID. 2010-12-20 12:47:39 +01:00
Juan Lang c2b42758da wininet: Verify revocation status of certificate chain. 2010-11-16 11:44:11 +01:00
Andrew Nguyen 7591563885 wininet: Fix misleading OpenSSL version number check. 2010-10-25 14:33:23 +02:00
Andrew Nguyen b20e111088 wininet: Fix const qualifier warning when compiling with OpenSSL 1.0.0. 2010-10-25 14:33:12 +02:00
Alexandre Julliard 0cc9c52f8c wininet: Load X509_STORE_CTX_get_ex_data from libcrypto not libssl. 2010-10-08 19:15:45 +02:00
Juan Lang 887aeb6a09 wininet: Support querying the cipher strength of an SSL connection. 2010-10-01 15:20:49 +02:00
Juan Lang 9f6cd2663e wininet: Let CertVerifyCertificateChainPolicy handle certain security flags. 2010-10-01 15:20:27 +02:00
Juan Lang 6808c1c684 wininet: Remove unneeded error message. 2010-09-30 11:14:31 +02:00
Juan Lang 44112c367f wininet: Honor security flags when verifying certificates. 2010-09-30 11:14:16 +02:00
Juan Lang 98dbdadcda wininet: Don't call SSL_connect until initialization is complete. 2010-09-30 11:14:01 +02:00
Juan Lang 181a367a1f wininet: Don't retrieve a certificate that isn't used. 2010-09-30 11:13:55 +02:00
Juan Lang ce0164c3f7 wininet: Store WININET_NETCONNECTION * in SSL context. 2010-09-30 11:13:35 +02:00
Juan Lang 3e51313e37 wininet: Don't make use of OpenSSL's security checks, as crypt32 also verifies certificate chain. 2010-09-30 11:13:12 +02:00
Uwe Bonnes 53391a3445 wininet: Add const qualifier after openssl version check. 2010-08-02 17:39:20 +02:00
Piotr Caban ee68473fe5 wininet: Reconnect if persistent connection was closed by server. 2010-06-29 15:20:56 +02:00
Piotr Caban 8dde5c5168 wininet: Combine certificate errors in HTTP_OpenConnection. 2010-05-19 15:01:00 +02:00
Piotr Caban c6097cafdd wininet: Deal with reading over the end in NETCON_recv. 2010-05-17 13:20:22 +02:00
Hans Leidekker 8858fc9b66 wininet: Don't call libcrypto function after closing the library.
Spotted by Paul Vriens.
2010-02-08 17:14:44 +01:00
Alexandre Julliard 5ded71ff43 wininet: Fix pointer cast warnings on 64-bit. 2009-12-24 12:15:40 +01:00
Juan Lang 09246aa1a7 wininet: Set error and fail if a secure connection's certificate couldn't be verified. 2009-12-16 12:20:26 +01:00
Juan Lang bd5c5953f3 wininet: Return error directly from netconn_verify_cert. 2009-12-16 12:20:21 +01:00
Juan Lang 03fe473ad7 wininet: Check the certificate in an https connection using the crypto api. 2009-12-14 12:06:04 +01:00
Juan Lang 6217326a09 wininet: Set callback to verify hostname with peer's certificate. 2009-12-14 12:05:52 +01:00
Juan Lang 880133d248 wininet: Store hostname for secure connection in its SSL context. 2009-12-14 12:05:45 +01:00
Juan Lang 1350e9d1c0 wininet: Free OpenSSL error strings at unload. 2009-12-14 12:05:37 +01:00
Juan Lang 33e68268a4 wininet: Don't unnecessarily convert hostname to ANSI to check it. 2009-12-14 12:05:31 +01:00
Jacek Caban b01d58428b wininet: Directly return error status from NETCON_init. 2009-12-01 12:58:58 +01:00
Jacek Caban 358e7b7c8a wininet: Directly return error status from NETCON_recv. 2009-12-01 12:58:34 +01:00
Jacek Caban c55d0a8516 wininet: Directly return error status from NETCON_close. 2009-11-30 12:48:46 +01:00
Jacek Caban 1ee3ad476e wininet: Directly return error status from WriteFile implementations. 2009-11-30 12:48:33 +01:00
Jacek Caban b77868cbfd wininet: Dorectly return error status from NETCON_secure_connect and NETCON_send. 2009-11-30 12:48:27 +01:00
Jacek Caban bf1da4c857 wininet: Directly return error status from NETCON_connect. 2009-11-30 12:48:20 +01:00
Jacek Caban cff77d602c wininet: Directly return error status from NETCON_create. 2009-11-30 12:48:09 +01:00
Hans Leidekker 248939d358 wininet: Clean up locks after closing libssl and libcrypto.
Found by valgrind.
2009-10-27 10:53:32 +01:00
Juan Lang 3c98992f55 wininet: Set callbacks needed by OpenSSL for multithreaded use. 2009-10-02 17:12:13 +02:00
Juan Lang 41592569fd wininet: Unload OpenSSL when unloading wininet. 2009-10-02 17:11:49 +02:00