Lines Matching refs:negotiated
479 Curl_safefree(ctx->negotiated.alpn); in cf_ctx_free()
1882 if(connssl->negotiated.alpn) { in Curl_alpn_set_negotiated()
1889 connssl->negotiated.alpn); in Curl_alpn_set_negotiated()
1893 else if((strlen(connssl->negotiated.alpn) != proto_len) || in Curl_alpn_set_negotiated()
1894 memcmp(connssl->negotiated.alpn, proto, proto_len)) { in Curl_alpn_set_negotiated()
1897 connssl->negotiated.alpn, (int)proto_len, proto); in Curl_alpn_set_negotiated()
1903 connssl->negotiated.alpn); in Curl_alpn_set_negotiated()
1914 connssl->negotiated.alpn = malloc(proto_len + 1); in Curl_alpn_set_negotiated()
1915 if(!connssl->negotiated.alpn) in Curl_alpn_set_negotiated()
1917 memcpy(connssl->negotiated.alpn, proto, proto_len); in Curl_alpn_set_negotiated()
1918 connssl->negotiated.alpn[proto_len] = 0; in Curl_alpn_set_negotiated()