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
18b224c9
Commit
18b224c9
authored
Jan 05, 2014
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
securetransport: add missing error checking
parent
efbb9e0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
modules/misc/securetransport.c
modules/misc/securetransport.c
+10
-2
No files found.
modules/misc/securetransport.c
View file @
18b224c9
...
...
@@ -550,10 +550,18 @@ static int st_ClientSessionOpen (vlc_tls_creds_t *crd, vlc_tls_t *session,
certificates */
/* this has effect only on iOS 5 and OSX 10.8 or later ... */
SSLSetSessionOption
(
sys
->
p_context
,
kSSLSessionOptionBreakOnServerAuth
,
true
);
ret
=
SSLSetSessionOption
(
sys
->
p_context
,
kSSLSessionOptionBreakOnServerAuth
,
true
);
if
(
ret
!=
noErr
)
{
msg_Err
(
session
,
"cannot set session option"
);
goto
error
;
}
#if !TARGET_OS_IPHONE
/* ... thus calling this for earlier osx versions, which is not available on iOS in turn */
SSLSetEnableCertVerify
(
sys
->
p_context
,
false
);
ret
=
SSLSetEnableCertVerify
(
sys
->
p_context
,
false
);
if
(
ret
!=
noErr
)
{
msg_Err
(
session
,
"error setting enable cert verify"
);
goto
error
;
}
#endif
return
VLC_SUCCESS
;
...
...
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