aboutsummaryrefslogtreecommitdiffstats
path: root/apps/CA.pl.in
diff options
context:
space:
mode:
Diffstat (limited to 'apps/CA.pl.in')
-rw-r--r--apps/CA.pl.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/CA.pl.in b/apps/CA.pl.in
index de5c0135f1..9d12a8c28f 100644
--- a/apps/CA.pl.in
+++ b/apps/CA.pl.in
@@ -161,7 +161,8 @@ if ($WHAT eq '-newcert' ) {
. " -infiles tmp.pem") if $RET == 0;
print "Signed certificate is in $NEWCERT\n" if $RET == 0;
} elsif ($WHAT eq '-verify' ) {
- my @files = @ARGV ? @ARGV : ( $NEWCVERT );
+ my @files = @ARGV ? @ARGV : ( $NEWCERT );
+ my $file;
foreach $file (@files) {
my $status = run("$VERIFY -CAfile ${CATOP}/$CACERT $file");
$RET = $status if $status != 0;