Don't use vpaes in fips builds and exclude from restricted tarball.
[openssl.git] / util / fipsdist.pl
index 30f7e71133686e740728b176c6398adadd2b6911..b191fbe41e0b0d6abb85777c80ec0e2bb5790bc3 100644 (file)
@@ -20,6 +20,8 @@ foreach (@objlist) { $tarobjs{"$1.c"} = 1 if /([^\/]+).o$/};
 $tarobjs{"ncbc_enc.c"} = 1;
 $tarobjs{"mem_clr.c"} = 1;
 $tarobjs{"ppccap.c"} = 1;
+$tarobjs{"sparcv9cap.c"} = 1;
+$tarobjs{"armcap.c"} = 1;
 
 foreach (split / /, $ENV{LINKDIRS} ) { $cdirs{$_} = 1 };
 
@@ -64,6 +66,7 @@ while (<STDIN>)
                next if -d "crypto/$1" && !exists $cdirs{$1};
                # Skip GF2m assembly language perl scripts
                next if $noec2m && /gf2m\.pl/;
+               next if /vpaes-\w*\.pl/;
                # Keep assembly language dir, Makefile or certain extensions
                if (!/\/asm\// && !/\/Makefile$/ && !/\.(in|pl|h|S)$/)
                        {