Lines Matching refs:sc
895 SESS_CERT *sc;
985 sc = ssl_sess_cert_new();
986 if (sc == NULL)
991 s->session->sess_cert = sc;
993 sc->cert_chain = sk;
1036 sc->peer_cert_type = i;
1039 * Why would the following ever happen? We just created sc a couple
1042 if (sc->peer_pkeys[i].x509 != NULL)
1043 X509_free(sc->peer_pkeys[i].x509);
1044 sc->peer_pkeys[i].x509 = x;
1045 sc->peer_key = &(sc->peer_pkeys[i]);
1052 sc->peer_cert_type = i;
1053 sc->peer_key = NULL;
2553 SESS_CERT *sc;
2561 sc = s->session->sess_cert;
2569 if (sc == NULL) {
2582 idx = sc->peer_cert_type;
2585 if (check_srvr_ecc_cert_and_alg(sc->peer_pkeys[idx].x509,
2595 pkey = X509_get_pubkey(sc->peer_pkeys[idx].x509);
2596 i = X509_certificate_type(sc->peer_pkeys[idx].x509, pkey);