Lines Matching refs:ca_sk
2663 STACK_OF(X509_NAME) *ca_sk = sk_X509_NAME_new(ca_dn_cmp); in parse_ca_names()
2667 if (ca_sk == NULL) { in parse_ca_names()
2697 if (!sk_X509_NAME_push(ca_sk, xn)) { in parse_ca_names()
2705 s->s3.tmp.peer_ca_names = ca_sk; in parse_ca_names()
2710 sk_X509_NAME_pop_free(ca_sk, X509_NAME_free); in parse_ca_names()
2717 const STACK_OF(X509_NAME) *ca_sk = NULL; in STACK_OF()
2721 ca_sk = SSL_get_client_CA_list(ssl); in STACK_OF()
2722 if (ca_sk != NULL && sk_X509_NAME_num(ca_sk) == 0) in STACK_OF()
2723 ca_sk = NULL; in STACK_OF()
2726 if (ca_sk == NULL) in STACK_OF()
2727 ca_sk = SSL_get0_CA_list(ssl); in STACK_OF()
2729 return ca_sk; in STACK_OF()
2732 int construct_ca_names(SSL_CONNECTION *s, const STACK_OF(X509_NAME) *ca_sk, in construct_ca_names() argument
2741 if ((ca_sk != NULL) && !(s->options & SSL_OP_DISABLE_TLSEXT_CA_NAMES)) { in construct_ca_names()
2744 for (i = 0; i < sk_X509_NAME_num(ca_sk); i++) { in construct_ca_names()
2746 X509_NAME *name = sk_X509_NAME_value(ca_sk, i); in construct_ca_names()