Lines Matching refs:sc

581     SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s);  in SSL_set0_CA_list()  local
583 if (sc == NULL) in SSL_set0_CA_list()
586 set0_CA_list(&sc->ca_names, name_list); in SSL_set0_CA_list()
601 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in STACK_OF() local
603 if (sc == NULL) in STACK_OF()
606 return sc->ca_names != NULL ? sc->ca_names : s->ctx->ca_names; in STACK_OF()
621 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(s); in SSL_set_client_CA_list() local
623 if (sc == NULL) in SSL_set_client_CA_list()
626 set0_CA_list(&sc->client_ca_names, name_list); in SSL_set_client_CA_list()
631 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in STACK_OF() local
633 if (sc == NULL) in STACK_OF()
636 return sc->s3.tmp.peer_ca_names; in STACK_OF()
641 const SSL_CONNECTION *sc = SSL_CONNECTION_FROM_CONST_SSL(s); in STACK_OF() local
643 if (sc == NULL) in STACK_OF()
646 if (!sc->server) in STACK_OF()
647 return sc->s3.tmp.peer_ca_names; in STACK_OF()
648 return sc->client_ca_names != NULL ? sc->client_ca_names in STACK_OF()
673 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in SSL_add1_to_CA_list() local
675 if (sc == NULL) in SSL_add1_to_CA_list()
678 return add_ca_name(&sc->ca_names, x); in SSL_add1_to_CA_list()
692 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in SSL_add_client_CA() local
694 if (sc == NULL) in SSL_add_client_CA()
697 return add_ca_name(&sc->client_ca_names, x); in SSL_add_client_CA()
1212 const SSL_CONNECTION *sc; in ssl_security_default_callback() local
1251 if ((sc = SSL_CONNECTION_FROM_CONST_SSL(s)) == NULL) in ssl_security_default_callback()
1253 if (!SSL_CONNECTION_IS_DTLS(sc)) { in ssl_security_default_callback()