André Hentschel : include: Add winhttp secure protocol flags.

Alexandre Julliard julliard at winehq.org
Thu Apr 7 07:37:07 CDT 2011


Module: wine
Branch: stable
Commit: a9497c69dfe8a933e59ab74f097dcb5106a1557d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a9497c69dfe8a933e59ab74f097dcb5106a1557d

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Dec 14 19:05:22 2010 +0100

include: Add winhttp secure protocol flags.
(cherry picked from commit 94c99df25d0b603739b6cb5c5c77710f017cea96)

---

 include/winhttp.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/winhttp.h b/include/winhttp.h
index 17fc38a..68bec0a 100644
--- a/include/winhttp.h
+++ b/include/winhttp.h
@@ -429,6 +429,11 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME;
 #define WINHTTP_CALLBACK_STATUS_FLAG_CERT_WRONG_USAGE        0x00000040
 #define WINHTTP_CALLBACK_STATUS_FLAG_SECURITY_CHANNEL_ERROR  0x80000000
 
+#define WINHTTP_FLAG_SECURE_PROTOCOL_SSL2  0x00000008
+#define WINHTTP_FLAG_SECURE_PROTOCOL_SSL3  0x00000020
+#define WINHTTP_FLAG_SECURE_PROTOCOL_TLS1  0x00000080
+#define WINHTTP_FLAG_SECURE_PROTOCOL_ALL   (WINHTTP_FLAG_SECURE_PROTOCOL_SSL2 | WINHTTP_FLAG_SECURE_PROTOCOL_SSL3 | WINHTTP_FLAG_SECURE_PROTOCOL_TLS1)
+
 #define WINHTTP_AUTH_SCHEME_BASIC      0x00000001
 #define WINHTTP_AUTH_SCHEME_NTLM       0x00000002
 #define WINHTTP_AUTH_SCHEME_PASSPORT   0x00000004




More information about the wine-cvs mailing list