sign-req: Error check creation of x509-type temp-files
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
7039d02952
commit
93a8980c5e
@ -2263,7 +2263,9 @@ Writing 'copy_exts' to SSL config temp-file failed"
|
||||
easyrsa_mktemp x509_type_tmp || \
|
||||
die "sign_req - easyrsa_mktemp x509_type_tmp"
|
||||
|
||||
create_x509_type "$crt_type" > "$x509_type_tmp"
|
||||
create_x509_type "$crt_type" > "$x509_type_tmp" || \
|
||||
die "sign_req - create_x509_type $crt_type"
|
||||
|
||||
x509_type_file="$x509_type_tmp"
|
||||
fi
|
||||
|
||||
@ -2277,7 +2279,9 @@ Writing 'copy_exts' to SSL config temp-file failed"
|
||||
easyrsa_mktemp x509_COMMON_tmp || \
|
||||
die "sign_req - easyrsa_mktemp x509_COMMON_tmp"
|
||||
|
||||
create_x509_type COMMON > "$x509_COMMON_tmp"
|
||||
create_x509_type COMMON > "$x509_COMMON_tmp" || \
|
||||
die "sign_req - create_x509_type COMMON"
|
||||
|
||||
x509_COMMON_file="$x509_type_tmp"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user