*still* trying to get clean perl for pem2openpgp
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 4 Feb 2009 02:38:11 +0000 (21:38 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Wed, 4 Feb 2009 02:38:11 +0000 (21:38 -0500)
src/keytrans/pem2openpgp

index 8ef6257a6724072b869cddee1be64a781175cc98..1aae4fec805467a814c24a33c8320a863720858a 100755 (executable)
@@ -365,8 +365,9 @@ if (! defined $ENV{PEM2OPENPGP_USAGE_FLAGS}) {
 } else {
   my @ff = split(",", $ENV{PEM2OPENPGP_USAGE_FLAGS});
   foreach my $f (@ff) {
-    if (! defined $usage_flags->{$f})
+    if (! defined $usage_flags->{$f}) {
       die "No such flag $f";
+    }
     $flags |= $usage_flags->{$f};
   }
 }