Commit 5f40a878 authored by Felix Paul Kühne's avatar Felix Paul Kühne

securetransport: fix segfault

parent 64ae53f4
......@@ -386,7 +386,9 @@ static int st_Handshake (vlc_tls_creds_t *crd, vlc_tls_t *session,
vlc_tls_sys_t *sys = session->sys;
OSStatus retValue = SSLHandshake(sys->p_context);
*alp = NULL;
if (alp != NULL) {
*alp = NULL;
}
if (retValue == errSSLWouldBlock) {
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