mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Error check condition
This commit is contained in:
parent
a47531cd99
commit
ea044b7777
2 changed files with 2 additions and 2 deletions
|
|
@ -1127,7 +1127,7 @@ begin
|
|||
else begin
|
||||
Wrong := not TAbWinZipAesDecryptStream(aInStream).Verify;
|
||||
if TAbWinZipAesDecryptStream(aInStream).ExtraField.Version = 1 then
|
||||
Wrong := Wrong and (OutStream.CRC32 <> aItem.CRC32);
|
||||
Wrong := Wrong or (OutStream.CRC32 <> aItem.CRC32);
|
||||
end;
|
||||
if Wrong then
|
||||
begin
|
||||
|
|
|
|||
|
|
@ -1845,7 +1845,7 @@ Index: AbUnzPrc.pas
|
|||
+ else begin
|
||||
+ Wrong := not TAbWinZipAesDecryptStream(aInStream).Verify;
|
||||
+ if TAbWinZipAesDecryptStream(aInStream).ExtraField.Version = 1 then
|
||||
+ Wrong := Wrong and (OutStream.CRC32 <> aItem.CRC32);
|
||||
+ Wrong := Wrong or (OutStream.CRC32 <> aItem.CRC32);
|
||||
+ end;
|
||||
+ if Wrong then
|
||||
+ begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue