From 35dd0d919ccc7d2d8a6b9f95ca0e514b3b856e71 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Sat, 11 Feb 2023 02:51:24 +0000 Subject: [PATCH] Remove unused variable EASYRSA_EC_DIR This was used to define a temp-dir for a temp-file for EC params. This was replaced by standard temp-file EASYRSA_ALGO_PARAMS. The replacement was due to EasyRSA support for OpenSSL version 3, where SSL command 'genpkey' replaced the previous commands. Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 7 ------- 1 file changed, 7 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 22d4457..8bfe2bd 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -694,11 +694,6 @@ Temporary session not preserved." rm -rf "$secured_session" fi - if [ "${EASYRSA_EC_DIR%/*}" ] && [ -d "$EASYRSA_EC_DIR" ] - then - rm -rf "$EASYRSA_EC_DIR" - fi - # Remove files when build_full()->sign_req() is interrupted [ "$error_build_full_cleanup" ] && \ rm -f "$crt_out" "$req_out" "$key_out" @@ -4367,7 +4362,6 @@ satisfy_shellcheck() { EASYRSA_ALGO= EASYRSA_KEY_SIZE= EASYRSA_CURVE= - EASYRSA_EC_DIR= EASYRSA_CA_EXPIRE= EASYRSA_CERT_EXPIRE= EASYRSA_CERT_RENEW= @@ -4666,7 +4660,6 @@ Sourcing the vars file and building certificates will probably fail ..' ;; ec) set_var EASYRSA_CURVE secp384r1 - set_var EASYRSA_EC_DIR "$EASYRSA_PKI/ecparams" ;; ed) set_var EASYRSA_CURVE ed25519