]> git.ipfire.org Git - thirdparty/openssl.git/commit
demos/certs: properly handle "$@"
authorEugene Syromiatnikov <esyr@openssl.org>
Mon, 1 Sep 2025 14:45:25 +0000 (16:45 +0200)
committerNeil Horman <nhorman@openssl.org>
Mon, 8 Sep 2025 21:09:39 +0000 (17:09 -0400)
commitf2dcb87e8a0e35a839e66f8d932eeb52f91630c5
tree602245783dc70974781a88991d974ae7c9208e1e
parentd226c6c85d30f8c024cce12c63d5eac9661658ee
demos/certs: properly handle "$@"

There is little reason $@ should be used unquoted;  also, "$@"
should be used instead of $* in order to pass the script arguments
to a function.

Fixes: bcd92754d56a "demos: fix cert scripts"
Fixes: 79b184fb4b65 "Extend certificate creation examples to include CRL generation and sample"
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28407)

(cherry picked from commit cc8a49004b0ceb0aa02c603e767519b459fc9c20)
demos/certs/mkcerts.sh
demos/certs/ocspquery.sh
demos/certs/ocsprun.sh