fixing typo and thinko in keytrans
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 14 Jul 2009 05:32:10 +0000 (01:32 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 14 Jul 2009 05:32:10 +0000 (01:32 -0400)
src/share/keytrans

index c64b810376c2b0143cbea04c2f38cf90fb7f9d36..ae4fb0993980afb1de16558a227775486ab89b5e 100755 (executable)
@@ -797,7 +797,9 @@ sub openpgp2rsa {
     $fpr = uc($fpr);
   }
 
-  my $data = { 'fpr' => $fpr};
+  my $data = { target => { fpr => $fpr,
+                        },
+              };
   my $subs = { $packet_types->{pubkey} => \&findkey,
               $packet_types->{pub_subkey} => \&findkey,
               $packet_types->{seckey} => \&findkey,
@@ -1101,7 +1103,7 @@ for (basename($0)) {
 
        print $newuid;
       } else {
-       die "Unrecognized subcomand.  keytrans subcommands are not a stable interface!\n";
+       die "Unrecognized subcommand.  keytrans subcommands are not a stable interface!\n";
       }
     }
   }