Branch: Tag:

2017-11-07

2017-11-07 09:59:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

ConfigIF: Hide the old SSL/TLS certificate settings.

Fixes remainder of [WS-83].

233: Inside #if 1
   // FIXME: Keep these around for at least a few major versions (10 years?).    defvar( "ssl_cert_file",    o->CertificateListVariable -  ( ({ "demo_certificate.pem" }), 0, +  ( ({ "demo_certificate.pem" }), VAR_INVISIBLE,    LOCALE(86, "SSL certificate file(s)"),    LOCALE(87, "<p>The SSL certificate file(s) to use.</p>\n"    "<p>This is a list of certificates, "
241: Inside #if 1
   "corresponding private key files in any order.</p>\n"    "<p>If a path is relative, it will first be "    "searched for relative to %s, " -  "and if not found there relative to %s.</p>\n")))-> -  set_invisibility_check_callback(hide_if_empty); +  "and if not found there relative to %s.</p>\n")));       defvar( "ssl_key_file",    o->KeyFileVariable -  ( "", 0, LOCALE(88, "SSL key file"), +  ( "", VAR_INVISIBLE, LOCALE(88, "SSL key file"),    LOCALE(89, "The SSL key file to use. If the path is "    "relative, it will first be searched for "    "relative to %s, and if not found there "
255: Inside #if 1
   "file, leave this field empty to use the "    "certificate file only. "    "This field is obsolete, since the same setting " -  "can be done in <b>SSL certificate file(s)</b>.")))-> -  set_invisibility_check_callback(hide_if_empty); +  "can be done in <b>SSL certificate file(s)</b>.")));   #endif      #if constant(SSL.Constants.CIPHER_aead)