Home | History | Annotate | Download | only in ssl

Lines Matching full:ca_list

820 			if (!sk_push(ca_list,(char *)c)) goto err;
852 static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list,
872 ca_curr = ca_list;
1110 const SSL_CIPHER **ca_list)
1198 * Now search for the cipher alias in the ca_list. Be careful
1210 while (ca_list[j])
1212 if (!strncmp(buf, ca_list[j]->name, buflen) &&
1213 (ca_list[j]->name[buflen] == '\0'))
1225 if (ca_list[j]->algorithm_mkey)
1229 alg_mkey &= ca_list[j]->algorithm_mkey;
1233 alg_mkey = ca_list[j]->algorithm_mkey;
1236 if (ca_list[j]->algorithm_auth)
1240 alg_auth &= ca_list[j]->algorithm_auth;
1244 alg_auth = ca_list[j]->algorithm_auth;
1247 if (ca_list[j]->algorithm_enc)
1251 alg_enc &= ca_list[j]->algorithm_enc;
1255 alg_enc = ca_list[j]->algorithm_enc;
1258 if (ca_list[j]->algorithm_mac)
1262 alg_mac &= ca_list[j]->algorithm_mac;
1266 alg_mac = ca_list[j]->algorithm_mac;
1269 if (ca_list[j]->algo_strength & SSL_EXP_MASK)
1273 algo_strength &= (ca_list[j]->algo_strength & SSL_EXP_MASK) | ~SSL_EXP_MASK;
1277 algo_strength |= ca_list[j]->algo_strength & SSL_EXP_MASK;
1280 if (ca_list[j]->algo_strength & SSL_STRONG_MASK)
1284 algo_strength &= (ca_list[j]->algo_strength & SSL_STRONG_MASK) | ~SSL_STRONG_MASK;
1288 algo_strength |= ca_list[j]->algo_strength & SSL_STRONG_MASK;
1291 if (ca_list[j]->valid)
1296 cipher_id = ca_list[j]->id;
1303 if (ca_list[j]->algorithm_ssl)
1307 alg_ssl &= ca_list[j]->algorithm_ssl;
1311 alg_ssl = ca_list[j]->algorithm_ssl;
1368 const SSL_CIPHER **ca_list = NULL;
1455 ca_list = OPENSSL_malloc(sizeof(SSL_CIPHER *) * num_of_alias_max);
1456 if (ca_list == NULL)
1462 ssl_cipher_collect_aliases(ca_list, num_of_group_aliases,
1475 &head, &tail, ca_list);
1482 ok = ssl_cipher_process_rulestr(rule_p, &head, &tail, ca_list);
1484 OPENSSL_free((void *)ca_list); /* Not needed anymore */