From ed4fa6f84bfbc11da71522ada3ce411876d6ea61 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 8 Oct 2008 17:51:30 +0000 Subject: Accept $opt parm --- packages/autoconfigbackup/crypt_acb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/autoconfigbackup/crypt_acb.php') 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}"); -- cgit v1.2.3