remove useless function

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2016-05-31 02:38:16 +03:00
parent 1b232d906f
commit 46207e8191

View File

@ -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