mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
From STABLE-BRANCH-1-4
* http.c (do_parse_uri): Remove the hkp port 11371 detection. We implement hkp in the keyserver handler, and the support here makes it appear like a bad hkp request actually succeeded.
This commit is contained in:
parent
c1239f5a44
commit
24feaa4f8a
2 changed files with 8 additions and 2 deletions
|
@ -584,8 +584,6 @@ do_parse_uri (parsed_uri_t uri, int only_local_part)
|
|||
uri->use_tls = 1;
|
||||
}
|
||||
#endif
|
||||
else if (!strcmp (uri->scheme, "hkp"))
|
||||
uri->port = 11371;
|
||||
else
|
||||
return gpg_error (GPG_ERR_INV_URI); /* Unsupported scheme */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue