]> 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 20:56:58 +0000 (16:56 -0400)
commitcc8a49004b0ceb0aa02c603e767519b459fc9c20
tree35b39a49441153976cbaceb23ebe558f154b2ded
parent6dd7ae2f4103b368cd6b66a053b7a9323c9fb9ad
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)
demos/certs/mkcerts.sh
demos/certs/ocspquery.sh
demos/certs/ocsprun.sh