[vlc-commits] GnuTLS: print certificate error flags (refs #6708)
Rémi Denis-Courmont
git at videolan.org
Fri May 4 18:14:50 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri May 4 19:13:24 2012 +0300| [392396467c5508e1cb1b1e2fd1695d5fd09a38bb] | committer: Rémi Denis-Courmont
GnuTLS: print certificate error flags (refs #6708)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=392396467c5508e1cb1b1e2fd1695d5fd09a38bb
---
modules/misc/gnutls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c
index d59e4f2..c9fef1f 100644
--- a/modules/misc/gnutls.c
+++ b/modules/misc/gnutls.c
@@ -304,7 +304,7 @@ static int gnutls_HandshakeAndValidate (vlc_tls_t *session)
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++)
{
if (status & e->flag)
More information about the vlc-commits
mailing list