MT#13919 Add RC4 encryption and enable raw perl

Needed for processing raw perl in device configs.

Change-Id: Iadf522133aacaa8efaac95d84d119ab4839fc25c
changes/06/2106/2
Andreas Granig 11 years ago
parent 892c5d7f1b
commit 4b1c1bac93

1
debian/control vendored

@ -14,6 +14,7 @@ Build-Depends: debhelper (>= 8),
libcatalyst-view-tt-perl,
libconvert-ascii85-perl,
libcrypt-rijndael-perl,
libcrypt-rc4-perl,
libdata-hal-perl,
libdata-printer-perl,
libdata-serializer-perl,

@ -1346,7 +1346,9 @@ sub dev_field_config :Chained('/') :PathPart('device/autoprov/config') :Args() {
my $data = $dev->profile->config->data;
my $processed_data = "";
my $t = Template->new;
my $t = Template->new({
EVAL_PERL => 1,
});
$t->process(\$data, $vars, \$processed_data) || do {
my $error = $t->error();
my $msg = "error processing template, type=".$error->type.", info='".$error->info."'";

Loading…
Cancel
Save