From 847a5667604aaf5dc43a478f4900db0cc24325e4 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Tue, 23 Jan 2024 20:08:45 +0000 Subject: [PATCH] Remove obsolete 'makesafeconf' code Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index cf890e0b4..bbb773ef2 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -1137,12 +1137,6 @@ easyrsa_openssl() { case "$openssl_command" in rand) die "easyrsa_openssl: Illegal SSL command: rand" - ;; - makesafeconf) - safe_target_file="$1" - makesafeconf=1 - ;; - *) : esac # Auto-escape hazardous characters @@ -1169,15 +1163,6 @@ easyrsa_openssl() { verbose "> easyrsa_openssl - EXEC $openssl_command $*" case "$openssl_command" in - makesafeconf) - # COPY temp-file to safessl-easyrsa.cnf - unset -v makesafeconf - if [ "$safe_target_file" ]; then - cp -f "$safe_ssl_cnf_tmp" "$safe_target_file" && return - else - cat "$safe_ssl_cnf_tmp" && return - fi - ;; *) # Exec SSL if [ "$EASYRSA_SILENT_SSL" ] && [ "$EASYRSA_BATCH" ]