Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
98652ec1
Commit
98652ec1
authored
Jul 13, 2012
by
Ken Thomases
Committed by
Alexandre Julliard
Jul 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: On Mac, define modern ECDH cipher suites if the SDK doesn't.
parent
4ccb8746
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
2 deletions
+31
-2
schannel_macosx.c
dlls/secur32/schannel_macosx.c
+31
-2
No files found.
dlls/secur32/schannel_macosx.c
View file @
98652ec1
...
...
@@ -45,6 +45,37 @@ WINE_DEFAULT_DEBUG_CHANNEL(secur32);
#ifdef HAVE_SECURITY_SECURITY_H
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
/* Defined in <Security/CipherSuite.h> in the 10.6 SDK or later. */
enum
{
TLS_ECDH_ECDSA_WITH_NULL_SHA
=
0xC001
,
TLS_ECDH_ECDSA_WITH_RC4_128_SHA
=
0xC002
,
TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA
=
0xC003
,
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
=
0xC004
,
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
=
0xC005
,
TLS_ECDHE_ECDSA_WITH_NULL_SHA
=
0xC006
,
TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
=
0xC007
,
TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA
=
0xC008
,
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
=
0xC009
,
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
=
0xC00A
,
TLS_ECDH_RSA_WITH_NULL_SHA
=
0xC00B
,
TLS_ECDH_RSA_WITH_RC4_128_SHA
=
0xC00C
,
TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA
=
0xC00D
,
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
=
0xC00E
,
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA
=
0xC00F
,
TLS_ECDHE_RSA_WITH_NULL_SHA
=
0xC010
,
TLS_ECDHE_RSA_WITH_RC4_128_SHA
=
0xC011
,
TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
=
0xC012
,
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
=
0xC013
,
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
=
0xC014
,
TLS_ECDH_anon_WITH_NULL_SHA
=
0xC015
,
TLS_ECDH_anon_WITH_RC4_128_SHA
=
0xC016
,
TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA
=
0xC017
,
TLS_ECDH_anon_WITH_AES_128_CBC_SHA
=
0xC018
,
TLS_ECDH_anon_WITH_AES_256_CBC_SHA
=
0xC019
,
};
#endif
struct
mac_session
{
SSLContextRef
context
;
struct
schan_transport
*
transport
;
...
...
@@ -156,7 +187,6 @@ static const struct cipher_suite cipher_suites[] = {
CIPHER_SUITE
(
TLS
,
DHE_RSA
,
AES_256_CBC
,
SHA
),
CIPHER_SUITE
(
TLS
,
DH_anon
,
AES_256_CBC
,
SHA
),
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
CIPHER_SUITE
(
TLS
,
ECDH_ECDSA
,
NULL
,
SHA
),
CIPHER_SUITE
(
TLS
,
ECDH_ECDSA
,
RC4_128
,
SHA
),
CIPHER_SUITE
(
TLS
,
ECDH_ECDSA
,
3
DES_EDE_CBC
,
SHA
),
...
...
@@ -182,7 +212,6 @@ static const struct cipher_suite cipher_suites[] = {
CIPHER_SUITE
(
TLS
,
ECDH_anon
,
3
DES_EDE_CBC
,
SHA
),
CIPHER_SUITE
(
TLS
,
ECDH_anon
,
AES_128_CBC
,
SHA
),
CIPHER_SUITE
(
TLS
,
ECDH_anon
,
AES_256_CBC
,
SHA
),
#endif
CIPHER_SUITE
(
SSL
,
RSA
,
RC2_CBC
,
MD5
),
CIPHER_SUITE
(
SSL
,
RSA
,
IDEA_CBC
,
MD5
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment