From f6e12f4b46c4e9c4eefbd44545255c4ce4cdc335 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Sun, 11 Feb 2007 03:10:12 +0000 Subject: [PATCH] * 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. --- util/ChangeLog | 6 ++++++ util/http.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/util/ChangeLog b/util/ChangeLog index a20716d10..0ea7427ce 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,9 @@ +2007-02-10 David Shaw + + * 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. + 2007-01-31 David Shaw * ttyio.c (do_get): Assume that anything read from the user diff --git a/util/http.c b/util/http.c index 6f6bf76c2..95010526c 100644 --- a/util/http.c +++ b/util/http.c @@ -321,8 +321,6 @@ do_parse_uri( PARSED_URI uri, int only_local_part ) uri->scheme = p; if(strcmp(uri->scheme,"http")==0) uri->port = 80; - else if(strcmp(uri->scheme,"hkp")==0) - uri->port = 11371; else return G10ERR_INVALID_URI; /* Unsupported scheme */