From 9b95eaa8dc6c1024fcb41996430102ef976fa3e2 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Sat, 8 Apr 2023 23:58:45 +0100 Subject: [PATCH] easyrsa_openssl(): Add verbose output when functions are skipped Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index f985da7..16bd597 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -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 \