Lines Matching refs:sc

196     SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl);  in ssl_get_cert_to_compress()  local
201 if (sc == NULL in ssl_get_cert_to_compress()
203 || !sc->server in ssl_get_cert_to_compress()
219 if (!ssl3_output_cert_chain(sc, &tmppkt, cpk, 1)) in ssl_get_cert_to_compress()
258 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in ssl_compress_certs() local
264 if (sc == NULL in ssl_compress_certs()
275 alg = sc->cert_comp_prefs[i]; in ssl_compress_certs()
303 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in ssl_get_compressed_cert() local
309 if (sc == NULL in ssl_get_compressed_cert()
313 || !sc->server in ssl_get_compressed_cert()
372 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in SSL_set1_cert_comp_preference() local
374 if (sc == NULL) in SSL_set1_cert_comp_preference()
376 return ssl_set_cert_comp_pref(sc->cert_comp_prefs, algs, len); in SSL_set1_cert_comp_preference()
385 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in SSL_compress_certs() local
387 if (sc == NULL || sc->cert == NULL) in SSL_compress_certs()
390 return ssl_compress_certs(ssl, sc->cert->pkeys, alg); in SSL_compress_certs()
413 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in SSL_get1_compressed_cert() local
416 if (sc->cert != NULL) in SSL_get1_compressed_cert()
417 cpk = sc->cert->key; in SSL_get1_compressed_cert()
455 SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL(ssl); in SSL_set1_compressed_cert() local
458 if (sc == NULL || !sc->server) in SSL_set1_compressed_cert()
461 return ossl_set1_compressed_cert(sc->cert, algorithm, comp_data, comp_length, orig_length); in SSL_set1_compressed_cert()