Scope environment overrides to EASYRSA

Merge branch 'javier-godoy-feature/sed' into v3.0.6

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
Eric F Crist 2019-01-11 10:21:57 -06:00
commit 6ef40c0e39

View File

@ -314,7 +314,7 @@ prog_exit() {
# Make LibreSSL safe config file from OpenSSL config file
make_ssl_config() {
sed \
-e "s\`ENV::\`\`g" \
-e "s\`ENV::EASYRSA\`EASYRSA\`g" \
-e "s\`\$dir\`$EASYRSA_PKI\`g" \
-e "s\`\$EASYRSA_PKI\`$EASYRSA_PKI\`g" \
-e "s\`\$EASYRSA_CERT_EXPIRE\`$EASYRSA_CERT_EXPIRE\`g" \