Skip to content

Commit

Permalink
Remove unused variable ${creds_in}, old 'credentials' file
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Oct 22, 2024
1 parent febef85 commit 3ac5a8a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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."
Expand All @@ -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"
Expand Down

0 comments on commit 3ac5a8a

Please sign in to comment.