[vlc-commits] gnutls: error message cosmetics

Rémi Denis-Courmont git at videolan.org
Sat Sep 29 17:35:30 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Sep 28 23:30:12 2012 +0300| [c9c38976c945422c40d52ec9f77ab81ae2fae581] | committer: Rémi Denis-Courmont

gnutls: error message cosmetics

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c9c38976c945422c40d52ec9f77ab81ae2fae581
---

 modules/misc/gnutls.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c
index 3a85189..13d2865 100644
--- a/modules/misc/gnutls.c
+++ b/modules/misc/gnutls.c
@@ -333,7 +333,7 @@ static int gnutls_HandshakeAndValidate (vlc_tls_t *session)
     val = gnutls_x509_crt_init (&cert);
     if (val)
     {
-        msg_Err (session, "x509 fatal error: %s", gnutls_strerror (val));
+        msg_Err (session, "X.509 fatal error: %s", gnutls_strerror (val));
         return -1;
     }
 
@@ -353,7 +353,7 @@ static int gnutls_HandshakeAndValidate (vlc_tls_t *session)
     }
 
     gnutls_x509_crt_deinit (cert);
-    msg_Dbg (session, "TLS/x509 certificate verified");
+    msg_Dbg (session, "TLS/X.509 certificate verified");
     return 0;
 
 error:
@@ -520,7 +520,7 @@ static int OpenClient (vlc_tls_t *session, int fd, const char *hostname)
     int val = gnutls_certificate_allocate_credentials (&sys->x509_cred);
     if (val != 0)
     {
-        msg_Err (session, "cannot allocate X509 credentials: %s",
+        msg_Err (session, "cannot allocate credentials: %s",
                  gnutls_strerror (val));
         goto error;
     }
@@ -802,7 +802,7 @@ static int OpenServer (vlc_object_t *obj)
     val = gnutls_certificate_allocate_credentials (&sys->x509_cred);
     if (val != 0)
     {
-        msg_Err (server, "cannot allocate X509 credentials: %s",
+        msg_Err (server, "cannot allocate credentials: %s",
                  gnutls_strerror (val));
         goto error;
     }



More information about the vlc-commits mailing list