Commit 43d93c71 authored by Chris Lamb's avatar Chris Lamb 💬

Ignore encrypted .zip files as we can never normalise them. (Closes: #852207)

parent f3b9949f
......@@ -197,6 +197,10 @@ sub normalize {
my @filenames = sort $filename_cmp $zip->memberNames();
for my $filename (@filenames) {
my $member = $zip->removeMember($filename);
if ($member->isEncrypted()) {
warn "strip-nondeterminism: $zip_filename: ignoring encrypted zip file\n";
return 0;
# member_normalizer returns the timestamp to use.
my $timestamp = exists $options{member_normalizer}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment