Declare some additional variables
Further fixes for #167 pointed out by bjoernv. Thanks! Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
parent
8fd8bdd59a
commit
5da67665fa
@ -5,6 +5,8 @@ Easy-RSA 3 ChangeLog
|
|||||||
* Integrate with Travis-CI (#165)
|
* Integrate with Travis-CI (#165)
|
||||||
* Remove "local" from variable assignment (#165)
|
* Remove "local" from variable assignment (#165)
|
||||||
* Other changes related to Travis-CI fixes
|
* Other changes related to Travis-CI fixes
|
||||||
|
* Assign values (even empty ones) to variables defined previously with
|
||||||
|
"local"
|
||||||
|
|
||||||
3.0.3 (2017-08-22)
|
3.0.3 (2017-08-22)
|
||||||
* Include mktemp windows binary
|
* Include mktemp windows binary
|
||||||
|
|||||||
@ -960,7 +960,8 @@ default_server_san() {
|
|||||||
|
|
||||||
# verify a file seems to be a valid req/X509
|
# verify a file seems to be a valid req/X509
|
||||||
verify_file() {
|
verify_file() {
|
||||||
format="$1" path="$2"
|
format="$1"
|
||||||
|
path="$2"
|
||||||
"$EASYRSA_OPENSSL" $format -in "$path" -noout 2>/dev/null || return 1
|
"$EASYRSA_OPENSSL" $format -in "$path" -noout 2>/dev/null || return 1
|
||||||
return 0
|
return 0
|
||||||
} # => verify_file()
|
} # => verify_file()
|
||||||
@ -968,7 +969,10 @@ verify_file() {
|
|||||||
# show-* command backend
|
# show-* command backend
|
||||||
# Prints req/cert details in a readable format
|
# Prints req/cert details in a readable format
|
||||||
show() {
|
show() {
|
||||||
type="$1" name="$2" in_file format
|
type="$1"
|
||||||
|
name="$2"
|
||||||
|
in_file=""
|
||||||
|
format=""
|
||||||
[ -n "$name" ] || die "\
|
[ -n "$name" ] || die "\
|
||||||
Missing expected filename_base argument.
|
Missing expected filename_base argument.
|
||||||
Run easyrsa without commands for usage help."
|
Run easyrsa without commands for usage help."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user