OpenSSL::Util::fixup_cmd_elements(): Include '!' among the VMS chars to process

! is the DCL character that starts a comment, and therefore acts as a
cut-off if not quoted.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15889)
This commit is contained in:
Richard Levitte 2021-06-24 06:54:14 +02:00 committed by Pauli
parent 11efa7d45b
commit e86b2e78a4

View File

@ -154,7 +154,7 @@ sub fixup_cmd_elements {
if ( $^O eq "VMS") { # VMS setup
$arg_formatter = sub {
$_ = shift;
if ($_ eq '' || /\s|["[:upper:]]/) {
if ($_ eq '' || /\s|[!"[:upper:]]/) {
s/"/""/g;
'"'.$_.'"';
} else {