Home
last modified time | relevance | path

Searched refs:sc_session (Results 1 – 5 of 5) sorted by relevance

/curl/lib/vtls/
H A Dmbedtls.c879 struct Curl_ssl_session *sc_session = NULL; local
883 &sc_session);
884 if(!result && sc_session && sc_session->sdata && sc_session->sdata_len) {
888 ret = mbedtls_ssl_session_load(&session, sc_session->sdata,
889 sc_session->sdata_len);
902 Curl_ssl_scache_return(cf, data, connssl->peer.scache_key, sc_session);
1129 struct Curl_ssl_session *sc_session = NULL; local
1175 &sc_session);
1179 sc_session);
H A Dbearssl.c613 struct Curl_ssl_session *sc_session = NULL; in bearssl_connect_step1() local
617 &sc_session); in bearssl_connect_step1()
618 if(!ret && sc_session && sc_session->sdata && sc_session->sdata_len) { in bearssl_connect_step1()
619 session = (br_ssl_session_parameters *)(void *)sc_session->sdata; in bearssl_connect_step1()
624 Curl_ssl_scache_return(cf, data, connssl->peer.scache_key, sc_session); in bearssl_connect_step1()
829 struct Curl_ssl_session *sc_session; in bearssl_connect_step3() local
839 0, -1, &sc_session); in bearssl_connect_step3()
842 sc_session); in bearssl_connect_step3()
H A Dwolfssl.c407 struct Curl_ssl_session *sc_session = NULL; in Curl_wssl_cache_session() local
436 &sc_session); in Curl_wssl_cache_session()
439 result = Curl_ssl_scache_put(cf, data, ssl_peer_key, sc_session); in Curl_wssl_cache_session()
473 struct Curl_ssl_session *sc_session = NULL; in Curl_wssl_setup_session() local
476 result = Curl_ssl_scache_take(cf, data, ssl_peer_key, &sc_session); in Curl_wssl_setup_session()
477 if(!result && sc_session && sc_session->sdata && sc_session->sdata_len) { in Curl_wssl_setup_session()
480 const unsigned char *sdata = sc_session->sdata; in Curl_wssl_setup_session()
482 (long)sc_session->sdata_len); in Curl_wssl_setup_session()
486 Curl_ssl_session_destroy(sc_session); in Curl_wssl_setup_session()
487 sc_session = NULL; in Curl_wssl_setup_session()
[all …]
H A Dopenssl.c2882 struct Curl_ssl_session *sc_session = NULL; in Curl_ossl_add_session() local
2907 &sc_session); in Curl_ossl_add_session()
2910 result = Curl_ssl_scache_put(cf, data, ssl_peer_key, sc_session); in Curl_ossl_add_session()
3963 struct Curl_ssl_session *sc_session = NULL; in Curl_ossl_ctx_init() local
3965 result = Curl_ssl_scache_take(cf, data, peer->scache_key, &sc_session); in Curl_ossl_ctx_init()
3966 if(!result && sc_session && sc_session->sdata && sc_session->sdata_len) { in Curl_ossl_ctx_init()
3967 const unsigned char *der_sessionid = sc_session->sdata; in Curl_ossl_ctx_init()
3968 size_t der_sessionid_size = sc_session->sdata_len; in Curl_ossl_ctx_init()
3992 Curl_ssl_scache_return(cf, data, peer->scache_key, sc_session); in Curl_ossl_ctx_init()
H A Dgtls.c726 struct Curl_ssl_session *sc_session; in Curl_gtls_cache_session() local
756 &sc_session); in Curl_gtls_cache_session()
759 result = Curl_ssl_scache_put(cf, data, ssl_peer_key, sc_session); in Curl_gtls_cache_session()

Completed in 61 milliseconds