mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-10 21:38:50 +01:00
* 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
b4f553c1ca
commit
f6e12f4b46
@ -1,3 +1,9 @@
|
|||||||
|
2007-02-10 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* 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 <dshaw@jabberwocky.com>
|
2007-01-31 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* ttyio.c (do_get): Assume that anything read from the user
|
* ttyio.c (do_get): Assume that anything read from the user
|
||||||
|
@ -321,8 +321,6 @@ do_parse_uri( PARSED_URI uri, int only_local_part )
|
|||||||
uri->scheme = p;
|
uri->scheme = p;
|
||||||
if(strcmp(uri->scheme,"http")==0)
|
if(strcmp(uri->scheme,"http")==0)
|
||||||
uri->port = 80;
|
uri->port = 80;
|
||||||
else if(strcmp(uri->scheme,"hkp")==0)
|
|
||||||
uri->port = 11371;
|
|
||||||
else
|
else
|
||||||
return G10ERR_INVALID_URI; /* Unsupported scheme */
|
return G10ERR_INVALID_URI; /* Unsupported scheme */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user