diff options
author | Richard Levitte <levitte@openssl.org> | 2021-06-22 11:52:09 +0300 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2021-06-26 07:43:09 +0300 |
commit | f49b42e6eec9b7abee940a10e8e1125edcb61481 (patch) | |
tree | 96d6c0569ac38ce6bdeffcc1d22701c10703cf4e /apps/CA.pl.in | |
parent | ed0bd67d4b7a61e864e9f71fbb62ba2a9dff0c28 (diff) |
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/CA.pl.in')
-rw-r--r-- | apps/CA.pl.in | 4 |
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' ) { |