dns-httpsrr-lookup: use origin, not peer
No binary (build failed)
—
(log yok)
| @@ -3502,7 +3502,7 @@ static CURLcode ossl_init_ech(struct ossl_ctx *octx, | |
| } | |
| else { | |
| const struct Curl_https_rrinfo *rinfo = | |
| - | Curl_conn_dns_get_https(data, cf->sockindex, peer->peer); |
| + | Curl_conn_dns_get_https(data, cf->sockindex, peer->origin); |
| if(rinfo && rinfo->echconfiglist) { | |
| const unsigned char *ecl = rinfo->echconfiglist; | |
| @@ -983,7 +983,7 @@ init_config_builder_ech(struct Curl_easy *data, | |
| else { | |
| const struct ssl_connect_data *connssl = cf->ctx; | |
| const struct Curl_https_rrinfo *rinfo = | |
| - | Curl_conn_dns_get_https(data, cf->sockindex, connssl->peer.peer); |
| + | Curl_conn_dns_get_https(data, cf->sockindex, connssl->peer.origin); |
| if(!rinfo || !rinfo->echconfiglist) { | |
| failf(data, "rustls: ECH requested but no ECHConfig available"); | |
| @@ -1248,7 +1248,7 @@ static CURLcode wssl_init_ech(struct wssl_ctx *wctx, | |
| } | |
| else { | |
| const struct Curl_https_rrinfo *rinfo = | |
| - | Curl_conn_dns_get_https(data, cf->sockindex, peer->peer); |
| + | Curl_conn_dns_get_https(data, cf->sockindex, peer->origin); |
| if(rinfo && rinfo->echconfiglist) { | |
| const unsigned char *ecl = rinfo->echconfiglist; | |