mirror of https://github.com/openssl/openssl.git
CA.pl supports interpolating multiple arguments into the executed
commands. Previously these were evaluated by a shell, which supported
quoting of values that contain whitespace, backslashes, ...
With a shell no longer used (avoid command injection), backwards
compatibility requires some similar functionality. The code now handles
double and single-quoted strings (shell-style word splitting), but not
parameter expansion ($foo remains unexpanded) or command substitution
(`cmd` and $(cmd) remain unexpanded).
On Windows system(@LIST) does not correctly preserve argv, do our
own quoting instead and use system(<$quoted_cmd>).
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27432)
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| perl | ||
| platform_symbols | ||
| add-depends.pl | ||
| build.info | ||
| c-compress-test.pl | ||
| cavs-to-evptest.pl | ||
| check-format-commit.sh | ||
| check-format-test-negatives.c | ||
| check-format-test-positives.c | ||
| check-format.pl | ||
| check-malloc-errs | ||
| checkplatformsyms.pl | ||
| ck_errf.pl | ||
| copy.pl | ||
| ctags.sh | ||
| dofile.pl | ||
| echo.pl | ||
| engines.num | ||
| err-to-raise | ||
| find-doc-nits | ||
| find-unused-errs | ||
| fips-checksums.sh | ||
| fix-deprecation | ||
| fix-includes | ||
| fix-includes.sed | ||
| help.pl | ||
| indent.pro | ||
| lang-compress.pl | ||
| libcrypto.num | ||
| libssl.num | ||
| markdownlint.rb | ||
| merge-err-lines | ||
| missingcrypto-internal.txt | ||
| missingcrypto.txt | ||
| missingcrypto111.txt | ||
| missingmacro.txt | ||
| missingmacro111.txt | ||
| missingssl-internal.txt | ||
| missingssl.txt | ||
| missingssl111.txt | ||
| mk-fipsmodule-cnf.pl | ||
| mkbuildinf.pl | ||
| mkdef.pl | ||
| mkdir-p.pl | ||
| mkerr.pl | ||
| mkinstallvars.pl | ||
| mknum.pl | ||
| mkpod2html.pl | ||
| mkrc.pl | ||
| mktar.sh | ||
| opensslwrap.sh | ||
| other-internal.syms | ||
| other.syms | ||
| providers.num | ||
| quicserver.c | ||
| shlib_wrap.sh.in | ||
| su-filter.pl | ||
| update_abi_check.sh | ||
| withlibctx.pl | ||
| wrap.pl.in | ||
| write-man-symlinks | ||