Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:2303: Inside #if constant(SSL.ServerConnection)
   lambda(int suite) {    return (<    SSL.Constants.KE_dhe_dss,    SSL.Constants.KE_dhe_rsa,    SSL.Constants.KE_ecdhe_ecdsa,    SSL.Constants.KE_ecdhe_rsa,    >)[(SSL.Constants.CIPHER_SUITES[suite]||({ -1 }))[0]];    });    }    ctx->preferred_suites = suites; - #elif !constant(SSL.Constants.preferred_rsa_suites) + #elif constant(SSL.Constants.CIPHER_aead)    int bits = query("ssl_key_bits"); -  ctx->preferred_suites = ctx->get_suites(bits); +  // NB: The arguments to get_suites() in Pike 7.8 currently differs +  // from the ones in Pike 8.0. +  ctx->preferred_suites = ctx->get_suites(SSL.Constants.SIGNATURE_rsa, bits);   #else   #ifndef ALLOW_WEAK_SSL    // Filter weak and really weak cipher suites.    ctx->preferred_suites -= ({    SSL.Constants.SSL_rsa_export_with_rc4_40_md5,    SSL.Constants.SSL_rsa_with_null_sha,    SSL.Constants.SSL_rsa_with_null_md5,    SSL.Constants.SSL_dhe_dss_export_with_des40_cbc_sha,    SSL.Constants.SSL_null_with_null_null,    });