Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
930bf001
Commit
930bf001
authored
Apr 17, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Added support for TLS 1.1 and TLS 1.2 on Mac.
parent
674e2cfd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
schannel_macosx.c
dlls/secur32/schannel_macosx.c
+19
-1
No files found.
dlls/secur32/schannel_macosx.c
View file @
930bf001
...
...
@@ -1007,7 +1007,25 @@ BOOL schan_imp_init(void)
supported_protocols
=
SP_PROT_SSL2_CLIENT
|
SP_PROT_SSL3_CLIENT
|
SP_PROT_TLS1_0_CLIENT
;
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1080
/* FIXME: Test max allowed version for TLS 1.1 and TLS 1.2 */
if
(
SSLGetProtocolVersionMax
!=
NULL
)
{
SSLProtocol
max_protocol
;
SSLContextRef
ctx
;
OSStatus
status
;
status
=
SSLNewContext
(
FALSE
,
&
ctx
);
if
(
status
==
noErr
)
{
status
=
SSLGetProtocolVersionMax
(
ctx
,
&
max_protocol
);
if
(
status
==
noErr
)
{
if
(
max_protocol
>=
kTLSProtocol11
)
supported_protocols
|=
SP_PROT_TLS1_1_CLIENT
;
if
(
max_protocol
>=
kTLSProtocol12
)
supported_protocols
|=
SP_PROT_TLS1_2_CLIENT
;
}
SSLDisposeContext
(
ctx
);
}
else
{
WARN
(
"SSLNewContext failed
\n
"
);
}
}
#endif
return
TRUE
;
...
...
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