mirror of https://github.com/openssl/openssl.git
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:bcd92754d5
"demos: fix cert scripts" Fixes:79b184fb4b
"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)
This commit is contained in:
parent
6dd7ae2f41
commit
cc8a49004b
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
opensslcmd() {
|
||||
LD_LIBRARY_PATH=../.. ../../apps/openssl $@
|
||||
LD_LIBRARY_PATH=../.. ../../apps/openssl "$@"
|
||||
}
|
||||
|
||||
OPENSSL_CONF=../../apps/openssl.cnf
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# called.
|
||||
|
||||
opensslcmd() {
|
||||
LD_LIBRARY_PATH=../.. ../../apps/openssl $@
|
||||
LD_LIBRARY_PATH=../.. ../../apps/openssl "$@"
|
||||
}
|
||||
|
||||
OPENSSL_CONF=../../apps/openssl.cnf
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
opensslcmd() {
|
||||
LD_LIBRARY_PATH=../.. ../../apps/openssl $@
|
||||
LD_LIBRARY_PATH=../.. ../../apps/openssl "$@"
|
||||
}
|
||||
|
||||
# Example of running an querying OpenSSL test OCSP responder.
|
||||
|
@ -18,4 +18,4 @@ opensslcmd version
|
|||
PORT=8888
|
||||
|
||||
opensslcmd ocsp -port $PORT -index index.txt -CA intca.pem \
|
||||
-rsigner resp.pem -rkey respkey.pem -rother intca.pem $*
|
||||
-rsigner resp.pem -rkey respkey.pem -rother intca.pem "$@"
|
||||
|
|
Loading…
Reference in New Issue