From 33fbca83dcd05b77f807fab205c4523b8cfe85b5 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Fri, 1 May 2015 07:11:17 -0400 Subject: [PATCH] Fix some typo's, silence warnings. Reviewed-by: Richard Levitte --- apps/CA.pl.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.25.1