remove useless function
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
1b232d906f
commit
46207e8191
16
le-renew
16
le-renew
|
@ -16,22 +16,6 @@ set_default() {
|
|||
fi
|
||||
}
|
||||
|
||||
gen_san_string() {
|
||||
declare d
|
||||
declare -a argv
|
||||
|
||||
argv=( "$@" )
|
||||
|
||||
printf '[SAN]\nsubjectAltName='
|
||||
|
||||
for d in "${argv[@]}"; do
|
||||
printf 'DNS:%s' "$d"
|
||||
if ! [[ "$d" == "${argv[-1]}" ]]; then
|
||||
printf ','
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
main() {
|
||||
declare cfg_dir
|
||||
declare -a domains le_args
|
||||
|
|
Loading…
Reference in New Issue
Block a user