Don't use some object files in FIPS build.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 23 Aug 2011 23:35:30 +0000 (23:35 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 23 Aug 2011 23:35:30 +0000 (23:35 +0000)
Configure

index fc793b0..1c1b8ea 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;