# HG changeset patch # User Mikael Berthe # Date 1289296841 -3600 # Node ID a87ac75872feee5c8fd02b12cf57e5bc25e59b30 # Parent e09763e16e49c7044e5f96665559be990418c9ac Display a warning when the option ssl_verify is still used diff -r e09763e16e49 -r a87ac75872fe mcabber/mcabber/main.c --- 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