Remove obsolete function copy_data_to_pki()

Signed-off-by: Wharf in Ships Clothing <wiscii@protonmail.com>
This commit is contained in:
Wharf in Ships Clothing 2022-04-01 16:03:52 +01:00
parent 821827028e
commit b25d74e6b7
No known key found for this signature in database
GPG Key ID: 74A2F9E4542BE265

View File

@ -676,7 +676,7 @@ install_data_to_pki () {
if [ -e "${EASYRSA_PKI}/${source}" ]; then
continue
else
copy_data_to_pki "${area}/${source}" || return
cp "${area}/${source}" "$EASYRSA_PKI" || return
fi
done
@ -729,12 +729,6 @@ install_data_to_pki () {
[ -e "$EASYRSA_SAFE_CONF" ] || easyrsa_openssl makesafeconf
} # => install_data_to_pki ()
# Copy the source to the PKI
copy_data_to_pki () {
cp "$1" "$EASYRSA_PKI" || return
shift
} # => copy_data_to_pki ()
# Disable terminal echo, if possible, otherwise warn
hide_read_pass()
{