Commit be38645f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

gnutls: add "missing" non-blocking flag

Since version 3.0.0, applications are supposed to set this when
operating in non-blocking mode. At this point, this seems to only
really affect DTLS though.
parent 7dba562c
......@@ -259,7 +259,9 @@ static int gnutls_SessionOpen(vlc_tls_creds_t *creds, vlc_tls_t *tls, int type,
const char *errp;
int val;
val = gnutls_init (&session, type);
val = gnutls_init(&session, type);
if (val != 0)
msg_Err(creds, "cannot initialize TLS session: %s",
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