fix missing existence check on TLS params

This commit is contained in:
Asif Bacchus 2019-11-18 05:20:04 -07:00
parent d7f24405e1
commit f301f9bbf0

View File

@ -96,9 +96,9 @@ if [ "$TLS13_ONLY" ]; then
fi fi
# check for certs if using SSL # check for certs if using SSL
checkExist 'file' "$SSL_CERT" if [ "$SSL_CERT" ]; then checkExist 'file' "$SSL_CERT"; fi
checkExist 'file' "$SSL_KEY" if [ "$SSL_KEY" ]; then checkExist 'file' "$SSL_KEY"; fi
checkExist 'file' "$SSL_CHAIN" if [ "$SSL_CHAIN" ]; then checkExist 'file' "$SSL_CHAIN"; fi
# check for DHparam if using TLS1.2 # check for DHparam if using TLS1.2
if [ "$TLS13_ONLY" = 'FALSE' ]; then if [ "$TLS13_ONLY" = 'FALSE' ]; then