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
3dbc71f3
Commit
3dbc71f3
authored
Dec 19, 2015
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
securetransport: Fix compilation
parent
28fb3417
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/misc/securetransport.c
modules/misc/securetransport.c
+4
-4
No files found.
modules/misc/securetransport.c
View file @
3dbc71f3
...
...
@@ -332,7 +332,7 @@ static int st_validateServerCertificate (vlc_tls_t *session, const char *hostnam
"This problem may be caused by a configuration error "
"or an attempt to breach your security or your privacy.
\n\n
"
"If in doubt, abort now.
\n
"
);
int
answer
=
dialog_Question
(
session
,
_
(
"Insecure site"
),
vlc_gettext
(
msg
),
int
answer
=
dialog_Question
(
session
->
obj
,
_
(
"Insecure site"
),
vlc_gettext
(
msg
),
_
(
"Abort"
),
_
(
"Accept certificate temporarily"
),
NULL
,
hostname
);
if
(
answer
==
2
)
{
...
...
@@ -402,7 +402,7 @@ static int st_Handshake (vlc_tls_creds_t *crd, vlc_tls_t *session,
return
0
;
case
errSSLServerAuthCompleted
:
return
st_Handshake
(
session
,
host
,
service
,
alp
);
return
st_Handshake
(
crd
,
session
,
host
,
service
,
alp
);
case
errSSLConnectionRefused
:
msg_Err
(
crd
,
"connection was refused"
);
...
...
@@ -507,7 +507,7 @@ static void st_SessionClose (vlc_tls_t *session) {
if
(
sys
->
b_handshaked
)
{
OSStatus
ret
=
SSLClose
(
sys
->
p_context
);
if
(
ret
!=
noErr
)
{
msg_Warn
(
session
,
"Cannot close ssl context"
);
msg_Warn
(
session
->
obj
,
"Cannot close ssl context"
);
}
}
...
...
@@ -515,7 +515,7 @@ static void st_SessionClose (vlc_tls_t *session) {
CFRelease
(
sys
->
p_context
);
#else
if
(
SSLDisposeContext
(
sys
->
p_context
)
!=
noErr
)
{
msg_Err
(
session
,
"error deleting context"
);
msg_Err
(
session
->
obj
,
"error deleting context"
);
}
#endif
}
...
...
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