Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:2608:       // Install the change callbacks here to avoid duplicate calls    // above.    // 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) + #if constant(SSL.Constants.CIPHER_aead)    getvar("ssl_key_bits")->set_changed_callback(filter_preferred_suites); -  + #endif + #if constant(SSL.ServerConnection)    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() + ")";