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
e3fa52a6
Commit
e3fa52a6
authored
Jan 28, 2014
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Ignore GNUTLS_A_UNRECOGNIZED_NAME warning alert.
parent
5114deda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
+21
-5
schannel_gnutls.c
dlls/secur32/schannel_gnutls.c
+21
-5
No files found.
dlls/secur32/schannel_gnutls.c
View file @
e3fa52a6
...
...
@@ -193,9 +193,11 @@ void schan_imp_set_session_target(schan_imp_session session, const char *target)
SECURITY_STATUS
schan_imp_handshake
(
schan_imp_session
session
)
{
gnutls_session_t
s
=
(
gnutls_session_t
)
session
;
int
err
=
pgnutls_handshake
(
s
);
switch
(
err
)
{
int
err
;
while
(
1
)
{
err
=
pgnutls_handshake
(
s
);
switch
(
err
)
{
case
GNUTLS_E_SUCCESS
:
TRACE
(
"Handshake completed
\n
"
);
return
SEC_E_OK
;
...
...
@@ -205,17 +207,31 @@ SECURITY_STATUS schan_imp_handshake(schan_imp_session session)
return
SEC_I_CONTINUE_NEEDED
;
case
GNUTLS_E_WARNING_ALERT_RECEIVED
:
{
gnutls_alert_description_t
alert
=
pgnutls_alert_get
(
s
);
WARN
(
"WARNING ALERT: %d %s
\n
"
,
alert
,
pgnutls_alert_get_name
(
alert
));
switch
(
alert
)
{
case
GNUTLS_A_UNRECOGNIZED_NAME
:
TRACE
(
"Ignoring
\n
"
);
continue
;
default:
return
SEC_E_INTERNAL_ERROR
;
}
}
case
GNUTLS_E_FATAL_ALERT_RECEIVED
:
{
gnutls_alert_description_t
alert
=
pgnutls_alert_get
(
s
);
const
char
*
alert_name
=
pgnutls_alert_get_name
(
alert
);
WARN
(
"ALERT: %d %s
\n
"
,
alert
,
alert_name
);
WARN
(
"FATAL ALERT: %d %s
\n
"
,
alert
,
pgnutls_alert_get_name
(
alert
));
return
SEC_E_INTERNAL_ERROR
;
}
default:
pgnutls_perror
(
err
);
return
SEC_E_INTERNAL_ERROR
;
}
}
/* Never reached */
...
...
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