]> lifelog.hopto.org Git - LifeLog.git/commitdiff
Tested, is compatible cross db engine compatible.
authorwbudic <redacted>
Thu, 19 Aug 2021 08:47:43 +0000 (18:47 +1000)
committerwbudic <redacted>
Thu, 19 Aug 2021 08:47:43 +0000 (18:47 +1000)
htdocs/cgi-bin/config.cgi

index 994469225ca7445dbe251c16d489e0cc7a75a73e..7ce8dba924e797aeddfddf26237a4befa60b5ee2 100755 (executable)
@@ -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 $_;};