dirmngr: Fix connecting to http proxies.

* dirmngr/http.c (send_request): Do not use the 'srvtag' intended for
the target host to connect to the http proxy.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2017-07-19 12:12:49 +02:00
parent 73d4781e45
commit 46a4a0c0e7
No known key found for this signature in database
GPG Key ID: DD1A52F9DA8C9020
1 changed files with 1 additions and 1 deletions

View File

@ -1788,7 +1788,7 @@ send_request (http_t hd, const char *httphost, const char *auth,
err = connect_server (*uri->host ? uri->host : "localhost",
uri->port ? uri->port : 80,
hd->flags, srvtag, timeout, &sock);
hd->flags, NULL, timeout, &sock);
http_release_parsed_uri (uri);
}
else