aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-08 17:49:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-08 17:49:46 +0000
commitdbe8133c149e2f36e1e1107099ed8e426031c2c0 (patch)
tree5211c6bd89f144ac1133a46ef877906f7c6bf586 /packages
parentd5b6bc98578fbd48d89dcc01a65fbafdb3245b36 (diff)
downloadpfsense-packages-dbe8133c149e2f36e1e1107099ed8e426031c2c0.tar.gz
pfsense-packages-dbe8133c149e2f36e1e1107099ed8e426031c2c0.tar.bz2
pfsense-packages-dbe8133c149e2f36e1e1107099ed8e426031c2c0.zip
Remove str_replace
Suggested-by: Matthew Grooms
Diffstat (limited to 'packages')
-rw-r--r--packages/autoconfigbackup/crypt_acb.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/crypt_acb.php b/packages/autoconfigbackup/crypt_acb.php
index 7909bc86..a964366a 100644
--- a/packages/autoconfigbackup/crypt_acb.php
+++ b/packages/autoconfigbackup/crypt_acb.php
@@ -30,7 +30,6 @@
*/
function crypt_data($val, $pass) {
- $val = str_replace("'", "#%$", $val);
$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}");