diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-08 17:51:30 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-08 17:51:30 +0000 |
commit | ed4fa6f84bfbc11da71522ada3ce411876d6ea61 (patch) | |
tree | 8a01afc09107bbd5fd74e9282285728f4331b2e0 /packages/autoconfigbackup/crypt_acb.php | |
parent | dbe8133c149e2f36e1e1107099ed8e426031c2c0 (diff) | |
download | pfsense-packages-ed4fa6f84bfbc11da71522ada3ce411876d6ea61.tar.gz pfsense-packages-ed4fa6f84bfbc11da71522ada3ce411876d6ea61.tar.bz2 pfsense-packages-ed4fa6f84bfbc11da71522ada3ce411876d6ea61.zip |
Accept $opt parm
Diffstat (limited to 'packages/autoconfigbackup/crypt_acb.php')
-rw-r--r-- | packages/autoconfigbackup/crypt_acb.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/crypt_acb.php b/packages/autoconfigbackup/crypt_acb.php index a964366a..6c2dfa04 100644 --- a/packages/autoconfigbackup/crypt_acb.php +++ b/packages/autoconfigbackup/crypt_acb.php @@ -29,7 +29,7 @@ DISABLE_PHP_LINT_CHECKING */ - function crypt_data($val, $pass) { + function crypt_data($val, $pass, $opt) { $file = tempnam('','php-encrypt-'); exec("echo -E '$val' > $file.dec"); exec("/usr/bin/openssl enc {$opt} -aes-256-cbc -in $file.dec -out $file.enc -k {$pass}"); |