whitespaces
This commit is contained in:
parent
857bb4b239
commit
7630d8b182
6
shellpki
6
shellpki
|
@ -309,7 +309,8 @@ create() {
|
|||
|
||||
# check if csr_file is a CSR
|
||||
"${OPENSSL_BIN}" req \
|
||||
-noout -subject \
|
||||
-noout \
|
||||
-subject \
|
||||
-in "${csr_file}" \
|
||||
>/dev/null 2>&1
|
||||
if [ "$?" -ne 0 ]; then
|
||||
|
@ -318,7 +319,8 @@ create() {
|
|||
|
||||
# check if csr_file contain a CN
|
||||
"${OPENSSL_BIN}" req \
|
||||
-noout -subject \
|
||||
-noout \
|
||||
-subject \
|
||||
-in "${csr_file}" \
|
||||
| grep -Eo "CN\s*=[^,/]*" \
|
||||
>/dev/null 2>&1
|
||||
|
|
Loading…
Reference in a new issue