Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
bedf8726
Commit
bedf8726
authored
Mar 06, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add extra Win32-specific debug (refs #538)
parent
5915e273
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/misc/gnutls.c
modules/misc/gnutls.c
+6
-0
No files found.
modules/misc/gnutls.c
View file @
bedf8726
...
...
@@ -239,12 +239,18 @@ gnutls_ContinueHandshake( tls_session_t *p_session)
p_sys
=
(
tls_session_sys_t
*
)(
p_session
->
p_sys
);
/* TODO: handle fatal error */
#ifdef WIN32
WSASetLastError
(
0
);
#endif
val
=
gnutls_handshake
(
p_sys
->
session
);
if
(
(
val
==
GNUTLS_E_AGAIN
)
||
(
val
==
GNUTLS_E_INTERRUPTED
)
)
return
1
+
gnutls_record_get_direction
(
p_sys
->
session
);
if
(
val
<
0
)
{
#ifdef WIN32
msg_Dbg
(
p_session
,
"Winsock error %d"
,
WSAGetLastError
(
)
);
#endif
msg_Err
(
p_session
,
"TLS handshake failed: %s"
,
gnutls_strerror
(
val
)
);
p_session
->
pf_close
(
p_session
);
...
...
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