From: Daniel Kahn Gillmor Date: Wed, 4 Feb 2009 02:38:11 +0000 (-0500) Subject: *still* trying to get clean perl for pem2openpgp X-Git-Tag: monkeysphere_0.23~130 X-Git-Url: https://codewiz.org/gitweb?p=monkeysphere.git;a=commitdiff_plain;h=edb55cada143fb8b42c14d2ec3809dc302ea5c83 *still* trying to get clean perl for pem2openpgp --- diff --git a/src/keytrans/pem2openpgp b/src/keytrans/pem2openpgp index 8ef6257..1aae4fe 100755 --- a/src/keytrans/pem2openpgp +++ b/src/keytrans/pem2openpgp @@ -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}; } }