[vlc-commits] securetransport: Fix compilation
David Fuhrmann
git at videolan.org
Sat Dec 19 10:59:38 CET 2015
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Dec 19 10:58:19 2015 +0100| [3dbc71f3552230fc6fb9346e8f556401ca160984] | committer: David Fuhrmann
securetransport: Fix compilation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3dbc71f3552230fc6fb9346e8f556401ca160984
---
modules/misc/securetransport.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/misc/securetransport.c b/modules/misc/securetransport.c
index b6dec38..9f5af99 100644
--- a/modules/misc/securetransport.c
+++ b/modules/misc/securetransport.c
@@ -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
}
More information about the vlc-commits
mailing list