summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-06-22 10:52:09 +0200
committerRichard Levitte <levitte@openssl.org>2021-06-26 06:43:09 +0200
commitf49b42e6eec9b7abee940a10e8e1125edcb61481 (patch)
tree96d6c0569ac38ce6bdeffcc1d22701c10703cf4e /apps
parenttest/recipes/80-test_ca.t: Don't force quotes around the config file in $cnf (diff)
downloadopenssl-f49b42e6eec9b7abee940a10e8e1125edcb61481.tar.xz
openssl-f49b42e6eec9b7abee940a10e8e1125edcb61481.zip
apps/CA.pl.in: restore the quotes around -CAfile, they were there for a reason
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15823)
Diffstat (limited to 'apps')
-rw-r--r--apps/CA.pl.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/CA.pl.in b/apps/CA.pl.in
index 7087f55d27..f029470005 100644
--- a/apps/CA.pl.in
+++ b/apps/CA.pl.in
@@ -209,7 +209,9 @@ if ($WHAT eq '-newcert' ) {
} elsif ($WHAT eq '-verify' ) {
my @files = @ARGV ? @ARGV : ( $NEWCERT );
foreach my $file (@files) {
- my $status = run("$VERIFY -CAfile ${CATOP}/$CACERT $file $EXTRA{verify}");
+ # -CAfile quoted for VMS, since the C RTL downcases all unquoted
+ # arguments to C programs
+ my $status = run("$VERIFY \"-CAfile\" ${CATOP}/$CACERT $file $EXTRA{verify}");
$RET = $status if $status != 0;
}
} elsif ($WHAT eq '-crl' ) {