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
74539728
Commit
74539728
authored
Sep 22, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Allow gnutls debug output to be shown.
parent
fde1e003
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
schannel.c
dlls/secur32/schannel.c
+14
-0
No files found.
dlls/secur32/schannel.c
View file @
74539728
...
...
@@ -44,6 +44,8 @@ MAKE_FUNCPTR(gnutls_certificate_allocate_credentials);
MAKE_FUNCPTR
(
gnutls_certificate_free_credentials
);
MAKE_FUNCPTR
(
gnutls_global_deinit
);
MAKE_FUNCPTR
(
gnutls_global_init
);
MAKE_FUNCPTR
(
gnutls_global_set_log_function
);
MAKE_FUNCPTR
(
gnutls_global_set_log_level
);
#undef MAKE_FUNCPTR
enum
schan_handle_type
...
...
@@ -446,6 +448,11 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
return
ret
;
}
static
void
schan_gnutls_log
(
int
level
,
const
char
*
msg
)
{
TRACE
(
"<%d> %s"
,
level
,
msg
);
}
static
const
SecurityFunctionTableA
schanTableA
=
{
1
,
NULL
,
/* EnumerateSecurityPackagesA */
...
...
@@ -537,6 +544,8 @@ void SECUR32_initSchannelSP(void)
LOAD_FUNCPTR
(
gnutls_certificate_free_credentials
)
LOAD_FUNCPTR
(
gnutls_global_deinit
)
LOAD_FUNCPTR
(
gnutls_global_init
)
LOAD_FUNCPTR
(
gnutls_global_set_log_function
)
LOAD_FUNCPTR
(
gnutls_global_set_log_level
)
#undef LOAD_FUNCPTR
provider
=
SECUR32_addProvider
(
&
schanTableA
,
&
schanTableW
,
schannelDllName
);
...
...
@@ -574,6 +583,11 @@ void SECUR32_initSchannelSP(void)
schan_handle_table_size
=
64
;
pgnutls_global_init
();
if
(
TRACE_ON
(
secur32
))
{
pgnutls_global_set_log_level
(
4
);
pgnutls_global_set_log_function
(
schan_gnutls_log
);
}
}
}
...
...
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