Commit Graph

114 Commits

Author SHA1 Message Date
Hiroshi Miura 923ac2e546 wininet: Add a TLS fallback mechanism. 2012-11-01 19:16:25 +01:00
Jacek Caban e2a9511b30 wininet: Added support for more certificate error types. 2012-06-18 17:49:05 +02:00
Jacek Caban 6c764fbd47 wininet: Added InternetGetSecurityInfoByURL[AW] implementation. 2012-06-11 12:19:07 +02:00
Jacek Caban c3eec8dc57 wininet: Improved handling ERROR_INTERNET_INVALID_CA error. 2012-06-07 16:07:11 +02:00
Jacek Caban f5cbc9f3f2 wininet: Properly set security flags for ERROR_INTERNET_SEC_CERT_DATE_INVALID. 2012-06-01 17:41:52 +02:00
Jacek Caban a24b5588d2 wininet: Fixed grouping security error flags. 2012-05-29 10:43:58 +02:00
Jacek Caban 79259064c9 wininet: Handle error flags only for masked-error mode. 2012-05-29 10:43:50 +02:00
Jacek Caban 868575a416 wininet: Store certificate error information in security flags. 2012-05-25 16:58:56 +02:00
Jacek Caban f3dd75d8a4 wininet: Set SECURITY_FLAG_STRENGTH_* flags in NETCONN_secure_connect. 2012-05-25 16:48:06 +02:00
Jacek Caban 90ec92dfd1 wininet: Set SECURITY_FLAG_SECURRE in NETCON_secure_connect. 2012-05-25 16:48:01 +02:00
Jacek Caban 59a0ab54cb wininet: Store security flags in server_t. 2012-05-25 16:47:57 +02:00
Jacek Caban 905ede6c6d wininet: Use hostname stored in server_t in NETCON_secure_connect. 2012-04-30 19:32:58 +02:00
Hans Leidekker 6522393265 wininet: Add support for setting and retrieving the send/receive timeouts. 2012-01-16 12:16:41 +01:00
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