Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
cb1544cb
Commit
cb1544cb
authored
Aug 30, 2014
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
securetransport: fix compilation
parent
c3ba3bfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
modules/misc/securetransport.c
modules/misc/securetransport.c
+6
-4
No files found.
modules/misc/securetransport.c
View file @
cb1544cb
...
...
@@ -377,7 +377,7 @@ out:
* 2 if more would-be blocking send is required.
*/
static
int
st_Handshake
(
vlc_tls_t
*
session
,
const
char
*
host
,
const
char
*
service
)
{
const
char
*
service
,
char
**
restrict
alp
)
{
VLC_UNUSED
(
service
);
vlc_tls_sys_t
*
sys
=
session
->
sys
;
...
...
@@ -399,7 +399,7 @@ static int st_Handshake (vlc_tls_t *session, const char *host,
return
0
;
case
errSSLServerAuthCompleted
:
return
st_Handshake
(
session
,
host
,
service
);
return
st_Handshake
(
session
,
host
,
service
,
alp
);
case
errSSLConnectionRefused
:
msg_Err
(
session
,
"connection was refused"
);
...
...
@@ -577,7 +577,8 @@ static int st_SessionOpenCommon (vlc_tls_creds_t *crd, vlc_tls_t *session,
}
static
int
st_ClientSessionOpen
(
vlc_tls_creds_t
*
crd
,
vlc_tls_t
*
session
,
int
fd
,
const
char
*
hostname
)
{
int
fd
,
const
char
*
hostname
,
const
char
*
const
*
alpn
)
{
VLC_UNUSED
(
alpn
);
msg_Dbg
(
session
,
"open TLS session for %s"
,
hostname
);
int
ret
=
st_SessionOpenCommon
(
crd
,
session
,
fd
,
false
);
...
...
@@ -658,9 +659,10 @@ static void CloseClient (vlc_tls_creds_t *crd) {
* Initializes a server-side TLS session.
*/
static
int
st_ServerSessionOpen
(
vlc_tls_creds_t
*
crd
,
vlc_tls_t
*
session
,
int
fd
,
const
char
*
hostname
)
{
int
fd
,
const
char
*
hostname
,
const
char
*
const
*
alpn
)
{
VLC_UNUSED
(
hostname
);
VLC_UNUSED
(
alpn
);
msg_Dbg
(
session
,
"open TLS server session"
);
int
ret
=
st_SessionOpenCommon
(
crd
,
session
,
fd
,
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