Lines Matching defs:ca_list
865 * if (!sk_push(ca_list,(char *)c)) goto err;
894 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list,
916 ca_curr = ca_list;
1155 const SSL_CIPHER **ca_list)
1241 * Now search for the cipher alias in the ca_list. Be careful
1253 while (ca_list[j]) {
1254 if (!strncmp(buf, ca_list[j]->name, buflen) &&
1255 (ca_list[j]->name[buflen] == '\0')) {
1265 if (ca_list[j]->algorithm_mkey) {
1267 alg_mkey &= ca_list[j]->algorithm_mkey;
1273 alg_mkey = ca_list[j]->algorithm_mkey;
1276 if (ca_list[j]->algorithm_auth) {
1278 alg_auth &= ca_list[j]->algorithm_auth;
1284 alg_auth = ca_list[j]->algorithm_auth;
1287 if (ca_list[j]->algorithm_enc) {
1289 alg_enc &= ca_list[j]->algorithm_enc;
1295 alg_enc = ca_list[j]->algorithm_enc;
1298 if (ca_list[j]->algorithm_mac) {
1300 alg_mac &= ca_list[j]->algorithm_mac;
1306 alg_mac = ca_list[j]->algorithm_mac;
1309 if (ca_list[j]->algo_strength & SSL_EXP_MASK) {
1312 (ca_list[j]->algo_strength & SSL_EXP_MASK) |
1319 algo_strength |= ca_list[j]->algo_strength & SSL_EXP_MASK;
1322 if (ca_list[j]->algo_strength & SSL_STRONG_MASK) {
1325 (ca_list[j]->algo_strength & SSL_STRONG_MASK) |
1333 ca_list[j]->algo_strength & SSL_STRONG_MASK;
1336 if (ca_list[j]->algo_strength & SSL_NOT_DEFAULT) {
1340 if (ca_list[j]->valid) {
1346 cipher_id = ca_list[j]->id;
1353 if (ca_list[j]->algorithm_ssl) {
1355 alg_ssl &= ca_list[j]->algorithm_ssl;
1361 alg_ssl = ca_list[j]->algorithm_ssl;
1478 const SSL_CIPHER **ca_list = NULL;
1589 ca_list = OPENSSL_malloc(sizeof(SSL_CIPHER *) * num_of_alias_max);
1590 if (ca_list == NULL) {
1595 ssl_cipher_collect_aliases(ca_list, num_of_group_aliases,
1607 &head, &tail, ca_list);
1614 ok = ssl_cipher_process_rulestr(rule_p, &head, &tail, ca_list);
1616 OPENSSL_free((void *)ca_list); /* Not needed anymore */