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

GnuTLS: print certificate error flags (refs #6708)

parent 9154db81
...@@ -304,7 +304,7 @@ static int gnutls_HandshakeAndValidate (vlc_tls_t *session) ...@@ -304,7 +304,7 @@ static int gnutls_HandshakeAndValidate (vlc_tls_t *session)
if (status) if (status)
{ {
msg_Err (session, "TLS session: access denied"); msg_Err (session, "TLS session: access denied (status 0x%X)", status);
for (const error_msg_t *e = cert_errors; e->flag; e++) for (const error_msg_t *e = cert_errors; e->flag; e++)
{ {
if (status & e->flag) if (status & e->flag)
......
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