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
fe474e3b
Commit
fe474e3b
authored
Mar 28, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Take schannel backend capabilities into account when configuring enabled protocols.
parent
698c7f0f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
schannel.c
dlls/secur32/schannel.c
+1
-1
schannel_gnutls.c
dlls/secur32/schannel_gnutls.c
+6
-0
schannel_macosx.c
dlls/secur32/schannel_macosx.c
+5
-0
secur32_priv.h
dlls/secur32/secur32_priv.h
+1
-0
No files found.
dlls/secur32/schannel.c
View file @
fe474e3b
...
...
@@ -237,7 +237,7 @@ static void read_config(void)
RegCloseKey
(
protocols_key
);
config_enabled_protocols
=
enabled
;
config_enabled_protocols
=
enabled
&
schan_imp_enabled_protocols
()
;
config_default_disabled_protocols
=
default_disabled
;
config_read
=
TRUE
;
...
...
dlls/secur32/schannel_gnutls.c
View file @
fe474e3b
...
...
@@ -106,6 +106,12 @@ static ssize_t schan_push_adapter(gnutls_transport_ptr_t transport,
return
buff_len
;
}
DWORD
schan_imp_enabled_protocols
(
void
)
{
/* NOTE: No support for SSL 2.0 */
return
SP_PROT_SSL3_CLIENT
|
SP_PROT_TLS1_0_CLIENT
|
SP_PROT_TLS1_1_CLIENT
|
SP_PROT_TLS1_2_CLIENT
;
}
BOOL
schan_imp_create_session
(
schan_imp_session
*
session
,
schan_credentials
*
cred
)
{
gnutls_session_t
*
s
=
(
gnutls_session_t
*
)
session
;
...
...
dlls/secur32/schannel_macosx.c
View file @
fe474e3b
...
...
@@ -630,6 +630,11 @@ static OSStatus schan_push_adapter(SSLConnectionRef transport, const void *buff,
return
ret
;
}
DWORD
schan_imp_enabled_protocols
(
void
)
{
/* NOTE: No support for TLS 1.1 and TLS 1.2 */
return
SP_PROT_SSL2_CLIENT
|
SP_PROT_SSL3_CLIENT
|
SP_PROT_TLS1_0_CLIENT
;
}
BOOL
schan_imp_create_session
(
schan_imp_session
*
session
,
schan_credentials
*
cred
)
{
...
...
dlls/secur32/secur32_priv.h
View file @
fe474e3b
...
...
@@ -260,6 +260,7 @@ extern SECURITY_STATUS schan_imp_recv(schan_imp_session session, void *buffer,
SIZE_T
*
length
)
DECLSPEC_HIDDEN
;
extern
BOOL
schan_imp_allocate_certificate_credentials
(
schan_credentials
*
)
DECLSPEC_HIDDEN
;
extern
void
schan_imp_free_certificate_credentials
(
schan_credentials
*
)
DECLSPEC_HIDDEN
;
extern
DWORD
schan_imp_enabled_protocols
(
void
)
DECLSPEC_HIDDEN
;
extern
BOOL
schan_imp_init
(
void
)
DECLSPEC_HIDDEN
;
extern
void
schan_imp_deinit
(
void
)
DECLSPEC_HIDDEN
;
...
...
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