File openssl-fips__0010_enable_shared_fips_Configure.diff of Package compat-openssl098.703

diff -rNU 15 ../openssl-0.9.8j-o/Configure ./Configure
--- ../openssl-0.9.8j-o/Configure	2011-08-09 01:42:11.000000000 +0200
+++ ./Configure	2011-08-09 02:37:40.000000000 +0200
@@ -966,37 +966,30 @@
 my $bf_obj = $fields[$idx_bf_obj];
 my $md5_obj = $fields[$idx_md5_obj];
 my $sha1_obj = $fields[$idx_sha1_obj];
 my $cast_obj = $fields[$idx_cast_obj];
 my $rc4_obj = $fields[$idx_rc4_obj];
 my $rmd160_obj = $fields[$idx_rmd160_obj];
 my $rc5_obj = $fields[$idx_rc5_obj];
 my $dso_scheme = $fields[$idx_dso_scheme];
 my $shared_target = $fields[$idx_shared_target];
 my $shared_cflag = $fields[$idx_shared_cflag];
 my $shared_ldflag = $fields[$idx_shared_ldflag];
 my $shared_extension = $fields[$idx_shared_extension];
 my $ranlib = $fields[$idx_ranlib];
 my $arflags = $fields[$idx_arflags];
 
-if ($fips)
-	{
-	delete $disabled{"shared"} if ($disabled{"shared"} eq "default");
-	$disabled{"asm"}="forced"
-		if ($target !~ "VC\-.*" &&
-		    "$cpuid_obj:$bn_obj:$aes_obj:$des_obj:$sha1_obj" eq "::::");
-	}
 
 foreach (sort @experimental)
 	{
 	my $ALGO;
 	($ALGO = $_) =~ tr/[a-z]/[A-Z]/;
 
 	# opensslconf.h will set OPENSSL_NO_... unless OPENSSL_EXPERIMENTAL_... is defined
 	$openssl_experimental_defines .= "#define OPENSSL_NO_$ALGO\n";
 	$cflags .= " -DOPENSSL_EXPERIMENTAL_$ALGO";
 	}
 
 foreach (sort (keys %disabled))
 	{
 	$options .= " no-$_";