Don't use some object files in FIPS build.
[openssl.git] / Configure
index fc793b02ed35ec13e765f36456b31da4dc96e6d1..1c1b8ea227650f2195720f2acebb041ed6b93980 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1630,6 +1630,13 @@ unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "
 open(OUT,">$Makefile.new") || die "unable to create $Makefile.new:$!\n";
 print OUT "### Generated automatically from $mforg by Configure.\n\n";
 my $sdirs=0;
+
+if ($fipscanisteronly)
+       {
+       $aes_obj =~ s/aesni-sha1-x86_64.o//;
+       $bn_obj =~ s/modexp512-x86_64.o//;
+       }
+
 while (<IN>)
        {
        chomp;