Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:2243:    string msg = (MSG); \    array args = ({ARGS}); \    if (sizeof (args)) msg = sprintf (msg, @args); \    report_error ("TLS port %s: %s", get_url(), msg); \    (VAR)->add_warning (msg); \    cert_err_unbind(); \    cert_failure = 1; \    return; \    } while (0)    - #if constant(SSL.ServerConnection) + #if constant(SSL.Constants.PROTOCOL_TLS_MAX)    protected void set_version()    {    ctx->min_version = query("ssl_min_version");    }   #endif       protected void filter_preferred_suites()    {   #if constant(SSL.ServerConnection)    int mode = query("ssl_suite_filter");
Roxen.git/server/base_server/roxen.pike:2561:    // FIXME: Both variables ought to be updated on save before the    // changed callback is called. Currently you can get warnings    // that the files don't match if you update both variables    // at the same time.    getvar ("ssl_cert_file")->set_changed_callback (certificates_changed);    getvar ("ssl_key_file")->set_changed_callback (certificates_changed);      #if constant(SSL.ServerConnection)    getvar("ssl_key_bits")->set_changed_callback(filter_preferred_suites);    getvar("ssl_suite_filter")->set_changed_callback(filter_preferred_suites); + #endif + #if constant(SSL.Constants.PROTOCOL_TLS_MAX)    getvar("ssl_min_version")->set_changed_callback(set_version);   #endif    }       string _sprintf( )    {    return "SSLProtocol(" + get_url() + ")";    }   }   #endif