From 3ac5a8ab51828173441cf3028626c1d346a69831 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Tue, 22 Oct 2024 20:35:49 +0100 Subject: [PATCH] Remove unused variable ${creds_in}, old 'credentials' file Signed-off-by: Richard T Bonhomme --- easyrsa3/easyrsa | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index af7fd982..5a9c5da8 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -3203,7 +3203,6 @@ Run easyrsa without commands for usage and command help." in_dir="$EASYRSA_PKI" key_in="$in_dir/private/${file_name_base}.key" req_in="$in_dir/reqs/${file_name_base}.req" - creds_in="$in_dir/${file_name_base}.creds" inline_pub="$in_dir/inline/${file_name_base}.inline" inline_pri="$in_dir/inline/private/${file_name_base}.inline" @@ -3372,7 +3371,6 @@ These files will be DELETED: All PKCS files for commonName : $file_name_base The inline credentials files: -* $creds_in * $inline_pub * $inline_pri" @@ -3443,13 +3441,6 @@ revoke_move() { fi done - # remove credentials file - if [ -f "$creds_in" ]; then - rm "$creds_in" || warn "\ -Failed to remove credentials file: -* $creds_in" - fi - # remove inline files rm -f "$inline_pub" "$inline_pri" || warn \ "revoke_move - Error trying to remove inline files." @@ -3472,7 +3463,6 @@ Run easyrsa without commands for usage and command help." crt_in="$in_dir/$file_name_base.crt" #key_in="$in_dir/private/$file_name_base.key" #req_in="$in_dir/reqs/$file_name_base.req" - #creds_in="$EASYRSA_PKI/$file_name_base.creds" # output out_dir="$EASYRSA_PKI/expired"