summaryrefslogtreecommitdiffstats
path: root/common/http.c
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2007-03-10 05:52:57 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2007-03-10 05:52:57 +0100
commit24feaa4f8a709a2450991ef553e9e843e4359348 (patch)
treee167aa208aa0134be540a78fab0945eae63cb8d3 /common/http.c
parentFrom STABLE-BRANCH-1-4 (diff)
downloadgnupg2-24feaa4f8a709a2450991ef553e9e843e4359348.tar.xz
gnupg2-24feaa4f8a709a2450991ef553e9e843e4359348.zip
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.
Diffstat (limited to '')
-rw-r--r--common/http.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/http.c b/common/http.c
index 6a015d1b3..15f00b9ae 100644
--- a/common/http.c
+++ b/common/http.c
@@ -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 */