Skip to content

Commit

Permalink
unit test: Easy-RSA: 'init-pki' catch error; Drop excess 'make-safe-ssl'
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Aug 25, 2023
1 parent e6be0f8 commit 6f7e9e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dev/easytls-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -615,8 +615,7 @@ elif [ -n "${EASYTLS_REMOTE_CI}" ]; then

# Update safessl-easyrsa.cnf
print "*** Update safessl-easyrsa.cnf - easyrsa init-pki"
"${EASYRSA_CMD}" --pki-dir="${WORK_DIR}/et-tdir${loops}" --batch init-pki
"${EASYRSA_CMD}" --pki-dir="${WORK_DIR}/et-tdir${loops}" --batch make-safe-ssl
"${EASYRSA_CMD}" --pki-dir="${WORK_DIR}/et-tdir${loops}" --batch init-pki || fail "init-pki"

cp -vf "${WORK_DIR}/et-tdir${loops}/safessl-easyrsa.cnf" ./safessl-easyrsa.cnf || \
fail "(1) cp ${WORK_DIR}/et-tdir${loops}/safessl-easyrsa.cnf ./safessl-easyrsa.cnf"
Expand Down

0 comments on commit 6f7e9e6

Please sign in to comment.