aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-07 00:22:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-07 00:22:04 +0000
commit042cebbcab6e448682e8c9af5a26e513bb361367 (patch)
treecd41fe59c7b6d4cc97e788f4d744a126059724b9
parentf834c579096563f476ee179e1a6225df59bcc6e1 (diff)
downloadpfsense-packages-042cebbcab6e448682e8c9af5a26e513bb361367.tar.gz
pfsense-packages-042cebbcab6e448682e8c9af5a26e513bb361367.tar.bz2
pfsense-packages-042cebbcab6e448682e8c9af5a26e513bb361367.zip
Really encrypt data and keep header
-rw-r--r--packages/autoconfigbackup/upload_config_filter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/upload_config_filter.php b/packages/autoconfigbackup/upload_config_filter.php
index 83c3040b..7b5548e8 100644
--- a/packages/autoconfigbackup/upload_config_filter.php
+++ b/packages/autoconfigbackup/upload_config_filter.php
@@ -36,7 +36,7 @@ if($last_backup_date <> $last_config_change) {
// Encrypt config.xml
$data = file_get_contents("/cf/conf/config.xml");
- $configxml = encrypt_data($data, $encryptpw);
+ $data = encrypt_data($data, $encryptpw);
tagfile_reformat($data, $data, "config.xml");
$post_fields = array(