Skip to content

Commit

Permalink
update revoke.sh
Browse files Browse the repository at this point in the history
add function download_crl
  • Loading branch information
acavella committed Dec 28, 2023
1 parent b45c06b commit 1eef225
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions revoke.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ get_array_size() {
arraySize=$(yq '.ca | length' ${confFile})
}

download_crl() {
local counter=0
while [ ${counter} -lt ${arraySize} ]
do
increment counter
commands
commands
done
}

main() {
show_version
get_cacerts
Expand Down

0 comments on commit 1eef225

Please sign in to comment.