diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/keytrans/pem2openpgp | 3 |
1 files changed, 2 insertions, 1 deletions
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}; } } |