Remove easy-rsa <3.0.7 workaround

We have easy-rsa 3.0.7 and it's not needed anymore
This commit is contained in:
randomshell 2020-05-07 20:07:25 +00:00 committed by GitHub
parent 5e2e67f78d
commit 317c4dbdbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -719,11 +719,6 @@ function installOpenVPN() {
# Create the PKI, set up the CA, the DH params and the server certificate
./easyrsa init-pki
# Workaround to remove unharmful error until easy-rsa 3.0.7
# https://github.com/OpenVPN/easy-rsa/issues/261
sed -i 's/^RANDFILE/#RANDFILE/g' pki/openssl-easyrsa.cnf
./easyrsa --batch build-ca nopass
if [[ $DH_TYPE == "2" ]]; then