[vlc-devel] [RFC PATCH 4/5] gnutls: increase certificate question severity

Thomas Guillem thomas at gllm.fr
Thu Jan 28 19:11:59 CET 2016


---
 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"
-- 
2.7.0.rc3



More information about the vlc-devel mailing list