]> 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>
Wed, 3 Sep 2025 11:47:34 +0000 (07:47 -0400)
commit09c13b47f3096e5a2c0fe0e0dc1ff16643e0b6cc
tree3e5b932edf481ec429729ae350a9e2bdd786c01e
parent250faab5b112961fbd26e990b9fde705a9e6f6ef
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/28405)
demos/certs/mkcerts.sh
demos/certs/ocspquery.sh
demos/certs/ocsprun.sh