From: wbudic Date: Thu, 19 Aug 2021 08:47:43 +0000 (+1000) Subject: Tested, is compatible cross db engine compatible. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=c0050a2cfe2ddf6dc461ae1e6b334b1b48f7631c;p=LifeLog.git Tested, is compatible cross db engine compatible. --- diff --git a/htdocs/cgi-bin/config.cgi b/htdocs/cgi-bin/config.cgi index 9944692..7ce8dba 100755 --- a/htdocs/cgi-bin/config.cgi +++ b/htdocs/cgi-bin/config.cgi @@ -1249,7 +1249,7 @@ my $stdout = capture_stdout { } $tar =~ s/osz$/tar/; my $srcIsPg = 0; - my $passw = $pass; @$passw = uc crypt $pass, hex Settings->CIPHER_KEY if &Settings::isProgressDB; + my $passw = $pass; $passw = uc crypt $pass, hex Settings->CIPHER_KEY if &Settings::isProgressDB; open (my $pipe, "| openssl enc -d -des-ede3-cfb -salt -S ". Settings->CIPHER_KEY." -pass pass:$passw-$alias -in /dev/stdin 2>/dev/null > $tar") or die "Failed: $!"; while(<$hndl>){print $pipe $_;};