Lines Matching refs:scs
1080 struct Curl_ssl_session *scs = NULL; in Curl_gtls_ctx_init() local
1109 result = Curl_ssl_scache_take(cf, data, peer->scache_key, &scs); in Curl_gtls_ctx_init()
1113 if(scs && scs->sdata && scs->sdata_len) { in Curl_gtls_ctx_init()
1115 rc = gnutls_session_set_data(gctx->session, scs->sdata, scs->sdata_len); in Curl_gtls_ctx_init()
1121 scs->alpn ? scs->alpn : "-"); in Curl_gtls_ctx_init()
1125 Curl_alpn_contains_proto(connssl->alpn, scs->alpn)) { in Curl_gtls_ctx_init()
1136 connssl->earlydata_max, scs->alpn); in Curl_gtls_ctx_init()
1140 (const unsigned char *)scs->alpn, in Curl_gtls_ctx_init()
1141 scs->alpn ? strlen(scs->alpn) : 0); in Curl_gtls_ctx_init()
1146 gtls_alpns[0].data = (unsigned char *)scs->alpn; in Curl_gtls_ctx_init()
1147 gtls_alpns[0].size = (unsigned)strlen(scs->alpn); in Curl_gtls_ctx_init()
1196 Curl_ssl_scache_return(cf, data, peer->scache_key, scs); in Curl_gtls_ctx_init()