[vlc-commits] gnutls: increase certificate question severity

Thomas Guillem git at videolan.org
Thu Feb 4 15:28:06 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jan 27 18:14:58 2016 +0100| [0caa233eddf80463d3daef08fbd599e5a3dd264f] | committer: Thomas Guillem

gnutls: increase certificate question severity

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

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

diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c
index 692f901..4a3d2d4 100644
--- a/modules/misc/gnutls.c
+++ b/modules/misc/gnutls.c
@@ -490,7 +490,7 @@ error:
             goto error;
     }
 
-    if (vlc_dialog_wait_question(creds, VLC_DIALOG_QUESTION_NORMAL,
+    if (vlc_dialog_wait_question(creds, VLC_DIALOG_QUESTION_WARNING,
             _("Abort"), _("View certificate"), NULL,
             _("Insecure site"), 
             _("You attempted to reach %s. %s\n"
@@ -511,7 +511,7 @@ error:
     }
     gnutls_x509_crt_deinit (cert);
 
-    val = vlc_dialog_wait_question(creds, VLC_DIALOG_QUESTION_NORMAL,
+    val = vlc_dialog_wait_question(creds, VLC_DIALOG_QUESTION_WARNING,
             _("Abort"), _("Accept 24 hours"), _("Accept permanently"),
             _("Insecure site"),
             _("This is the certificate presented by %s:\n%s\n\n"



More information about the vlc-commits mailing list