diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-08 17:49:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-08 17:49:46 +0000 |
commit | dbe8133c149e2f36e1e1107099ed8e426031c2c0 (patch) | |
tree | 5211c6bd89f144ac1133a46ef877906f7c6bf586 /packages | |
parent | d5b6bc98578fbd48d89dcc01a65fbafdb3245b36 (diff) | |
download | pfsense-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.php | 1 |
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}"); |