Auto configure for fips is from restricted tarball.
[openssl.git] / Configure
index beb569412ebb57fc0d8f0a9fd838cd3a7134281e..5c9e34707fa907125a5426916a18c48079237227 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -693,6 +693,16 @@ my $default_ranlib;
 my $perl;
 my $fips=0;
 
+# If ssl directory missing assume truncated FIPS tarball
+if (! -d ssl)
+       {
+       print STDERR "Auto Configuring fipsonly\n";
+       $fips = 1;
+       $nofipscanistercheck = 1;
+       $fipslibdir="";
+       $fipscanisterinternal="y";
+       $fipscanisteronly = 1;
+       }
 
 # All of the following is disabled by default (RC5 was enabled before 0.9.8):