Commit c46f984f authored by Felix Paul Kühne's avatar Felix Paul Kühne

securetransport: prevent invalid access

parent a5fb9f78
...@@ -386,6 +386,7 @@ static int st_Handshake (vlc_tls_creds_t *crd, vlc_tls_t *session, ...@@ -386,6 +386,7 @@ static int st_Handshake (vlc_tls_creds_t *crd, vlc_tls_t *session,
vlc_tls_sys_t *sys = session->sys; vlc_tls_sys_t *sys = session->sys;
OSStatus retValue = SSLHandshake(sys->p_context); OSStatus retValue = SSLHandshake(sys->p_context);
*alp = NULL;
if (retValue == errSSLWouldBlock) { if (retValue == errSSLWouldBlock) {
msg_Dbg(crd, "handshake is blocked, try again later"); msg_Dbg(crd, "handshake is blocked, try again later");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment