diff options
author | David Shaw <[email protected]> | 2007-02-11 03:10:12 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2007-02-11 03:10:12 +0000 |
commit | f6e12f4b46c4e9c4eefbd44545255c4ce4cdc335 (patch) | |
tree | 915db55b27e6aa043a3532c6072d5c0a5556439f | |
parent | Fix for Debian bug 402592 (diff) | |
download | gnupg-f6e12f4b46c4e9c4eefbd44545255c4ce4cdc335.tar.gz gnupg-f6e12f4b46c4e9c4eefbd44545255c4ce4cdc335.zip |
* 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.
-rw-r--r-- | util/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <[email protected]> + + * 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 <[email protected]> * 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 */ |