1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-08 12:44:23 +01:00

* mainproc.c (check_sig_and_print), keyserver.c

(keyserver_import_pka), card-util.c (fetch_url): Always require a
scheme:// for keyserver URLs except when used as part of the
--keyserver command for backwards compatibility.
This commit is contained in:
David Shaw 2006-01-01 18:12:57 +00:00
parent 5bce704dd3
commit 1315171b07
4 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,10 @@
2006-01-01 David Shaw <dshaw@jabberwocky.com>
* mainproc.c (check_sig_and_print), keyserver.c
(keyserver_import_pka), card-util.c (fetch_url): Always require a
scheme:// for keyserver URLs except when used as part of the
--keyserver command for backwards compatibility.
* sign.c (write_signature_packets): Lost a digest_algo line.
* sign.c (hash_for): Add code to detect if the sk lives on a smart

View File

@ -623,7 +623,7 @@ fetch_url(void)
gpg_strerror(rc));
else if (info.pubkey_url && *info.pubkey_url)
{
spec=parse_keyserver_uri(info.pubkey_url,0,NULL,0);
spec=parse_keyserver_uri(info.pubkey_url,1,NULL,0);
if(spec && info.fpr1valid)
{
/* This is not perfectly right. Currently, all card

View File

@ -1979,7 +1979,7 @@ keyserver_import_pka(const char *name)
if (uri)
{
struct keyserver_spec *spec;
spec = parse_keyserver_uri (uri, 0, NULL, 0);
spec = parse_keyserver_uri (uri, 1, NULL, 0);
if (spec)
{
rc=keyserver_import_fprint (fpr, 20, spec);

View File

@ -1529,7 +1529,7 @@ check_sig_and_print( CTX c, KBNODE node )
int res;
struct keyserver_spec *spec;
spec = parse_keyserver_uri (uri, 0, NULL, 0);
spec = parse_keyserver_uri (uri, 1, NULL, 0);
if (spec)
{
glo_ctrl.in_auto_key_retrieve++;