easyrsa_openssl(): Add verbose output when functions are skipped

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2023-04-08 23:58:45 +01:00
parent a9b7c6a8a4
commit 9b95eaa8dc
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -919,6 +919,8 @@ easyrsa_openssl() {
# there are unacceptable differences in behavior
if [ "$working_safe_ssl_conf" ]; then
: # ok - This has been done before
verbose "\
easyrsa_openssl: escape_hazard SKIPPED"
else
escape_hazard || \
die "easyrsa_openssl - escape_hazard failed"
@ -934,6 +936,8 @@ easyrsa_openssl() {
if [ "$working_safe_ssl_conf" ]; then
# ok - This has been done before
easyrsa_safe_ssl_conf="$working_safe_ssl_conf"
verbose "\
easyrsa_openssl: easyrsa_rewrite_ssl_config SKIPPED"
else
# Write a safe SSL config temp-file
easyrsa_rewrite_ssl_config || die \