diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-01-24 08:33:31 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-01-24 08:33:31 -0200 |
commit | 2ec95f1ffb9231674f3619a641c1005b9ee55853 (patch) | |
tree | cdda6c995c239c1493c3810006fc2b2b3984b4c1 /etc/inc/openvpn.inc | |
parent | 5459701254d951eff2e46250deb76b9504a07fb8 (diff) | |
download | pfsense-2ec95f1ffb9231674f3619a641c1005b9ee55853.zip pfsense-2ec95f1ffb9231674f3619a641c1005b9ee55853.tar.gz |
Fix openssl path
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r-- | etc/inc/openvpn.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 38b055a..509089b 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -40,7 +40,7 @@ DISABLE_PHP_LINT_CHECKING - pfSense_BUILDER_BINARIES: /usr/local/sbin/openvpn /usr/local/bin/openssl /sbin/ifconfig + pfSense_BUILDER_BINARIES: /usr/local/sbin/openvpn /usr/bin/openssl /sbin/ifconfig pfSense_MODULE: openvpn */ @@ -115,7 +115,7 @@ function openvpn_create_key() { function openvpn_create_dhparams($bits) { - $fp = popen("/usr/local/bin/openssl dhparam {$bits} 2>/dev/null", "r"); + $fp = popen("/usr/bin/openssl dhparam {$bits} 2>/dev/null", "r"); if (!$fp) return false; @@ -225,7 +225,7 @@ function openvpn_get_digestlist() { function openvpn_get_engines() { $openssl_engines = array('none' => 'No Hardware Crypto Acceleration'); - exec("/usr/local/bin/openssl engine -t -c", $openssl_engine_output); + exec("/usr/bin/openssl engine -t -c", $openssl_engine_output); $openssl_engine_output = implode("\n", $openssl_engine_output); $openssl_engine_output = preg_replace("/\\n\\s+/", "|", $openssl_engine_output); $openssl_engine_output = explode("\n", $openssl_engine_output); |