summaryrefslogtreecommitdiffstats
path: root/etc/inc/openvpn.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-01-27 12:20:31 -0500
committerjim-p <jimp@pfsense.org>2013-01-27 12:20:31 -0500
commitdae707f5363fa10bae1257492579c57a0c459fdd (patch)
treee6973bc5d52fac1e588eb5a58f9c4b345cb8f5a2 /etc/inc/openvpn.inc
parent0674bc42c350d9723db0888b85816326157ddd67 (diff)
downloadpfsense-dae707f5363fa10bae1257492579c57a0c459fdd.zip
pfsense-dae707f5363fa10bae1257492579c57a0c459fdd.tar.gz
Fixup paths when executing OpenSSL.
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r--etc/inc/openvpn.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index b329067..fc7bf1a 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/bin/openssl /sbin/ifconfig
+ pfSense_BUILDER_BINARIES: /usr/local/sbin/openvpn /usr/local/bin/openssl /sbin/ifconfig
pfSense_MODULE: openvpn
*/
@@ -102,7 +102,7 @@ function openvpn_create_key() {
function openvpn_create_dhparams($bits) {
- $fp = popen("/usr/bin/openssl dhparam {$bits} 2>/dev/null", "r");
+ $fp = popen("/usr/local/bin/openssl dhparam {$bits} 2>/dev/null", "r");
if (!$fp)
return false;
@@ -180,7 +180,7 @@ function openvpn_get_cipherlist() {
function openvpn_get_engines() {
$openssl_engines = array('none' => 'No Hardware Crypto Acceleration');
- exec("/usr/bin/openssl engine", $openssl_engine_output);
+ exec("/usr/local/bin/openssl engine", $openssl_engine_output);
foreach ($openssl_engine_output as $oeo) {
$linematch = array();
preg_match("/\((.*)\)\s(.*)/", $oeo, $linematch);
OpenPOWER on IntegriCloud