[svn] GnuPG - r3984 - trunk/g10

svn author dshaw cvs at cvs.gnupg.org
Sun Jan 1 19:12:58 CET 2006


Author: dshaw
Date: 2006-01-01 19:12:57 +0100 (Sun, 01 Jan 2006)
New Revision: 3984

Modified:
   trunk/g10/ChangeLog
   trunk/g10/card-util.c
   trunk/g10/keyserver.c
   trunk/g10/mainproc.c
Log:
* 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.


Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog	2006-01-01 17:59:57 UTC (rev 3983)
+++ trunk/g10/ChangeLog	2006-01-01 18:12:57 UTC (rev 3984)
@@ -1,5 +1,10 @@
 2006-01-01  David Shaw  <dshaw at 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

Modified: trunk/g10/card-util.c
===================================================================
--- trunk/g10/card-util.c	2006-01-01 17:59:57 UTC (rev 3983)
+++ trunk/g10/card-util.c	2006-01-01 18:12:57 UTC (rev 3984)
@@ -623,7 +623,7 @@
 		  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

Modified: trunk/g10/keyserver.c
===================================================================
--- trunk/g10/keyserver.c	2006-01-01 17:59:57 UTC (rev 3983)
+++ trunk/g10/keyserver.c	2006-01-01 18:12:57 UTC (rev 3984)
@@ -1979,7 +1979,7 @@
   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);

Modified: trunk/g10/mainproc.c
===================================================================
--- trunk/g10/mainproc.c	2006-01-01 17:59:57 UTC (rev 3983)
+++ trunk/g10/mainproc.c	2006-01-01 18:12:57 UTC (rev 3984)
@@ -1529,7 +1529,7 @@
             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++;




More information about the Gnupg-commits mailing list