changeset 1916:a87ac75872fe

Display a warning when the option ssl_verify is still used
author Mikael Berthe <mikael@lilotux.net>
date Tue, 09 Nov 2010 11:00:41 +0100
parents e09763e16e49
children 33d1c42cf07e
files mcabber/mcabber/main.c
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/mcabber/main.c	Thu Nov 04 19:51:02 2010 +0100
+++ b/mcabber/mcabber/main.c	Tue Nov 09 11:00:41 2010 +0100
@@ -386,13 +386,21 @@
     if ((p = settings_opt_get("jid")) != NULL) {
       scr_log_print(LPRINT_NORMAL, "User JID: %s", p);
     } else if (settings_opt_get("username")) {
-      /* TODO: remove after 0.10.1/2 */
+      /* TODO: remove after 0.10.2/3 */
       scr_log_print(LPRINT_NORMAL, "** ERROR: The JID is missing, but "
                     "the variable 'username' is defined in your "
                     "configuration file.\n"
                     "** Please update your configuration file and set "
                     "the 'jid' variable.");
     }
+
+    if (settings_opt_get("ssl_verify")) {  // Deprecated option
+      /* TODO: remove after 0.10.2/3 */
+      scr_log_print(LPRINT_NORMAL,
+                    "** ERROR: The option ssl_verify is deprecated.\n"
+                    "** Please update your configuration file and use "
+                    "the 'ssl_ignore_checks' variable.");
+    }
   }
 
   /* If no password is stored, we ask for it before entering