fix fipscanisteronly autodetect
authorDr. Stephen Henson <steve@openssl.org>
Sun, 10 Apr 2011 23:28:24 +0000 (23:28 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 10 Apr 2011 23:28:24 +0000 (23:28 +0000)
Configure

index 88d87a598130139ad781795df48fae6726ea94f9..eca6dcf8e9724f524e3ff9562541875d8b4e0421 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -710,7 +710,7 @@ my %disabled = ( # "what"         => "comment" [or special keyword "experimental
 my @experimental = ();
 
 # If ssl directory missing assume truncated FIPS tarball
 my @experimental = ();
 
 # If ssl directory missing assume truncated FIPS tarball
-if (! -d ssl)
+if (!-d "ssl")
        {
        print STDERR "Auto Configuring fipsonly\n";
        $fips = 1;
        {
        print STDERR "Auto Configuring fipsonly\n";
        $fips = 1;
@@ -1124,6 +1124,7 @@ my $exp_cflags = "";
 
 if ($fipscanisteronly == 2)
        {
 
 if ($fipscanisteronly == 2)
        {
+print STDERR "ADDING FIPSSYM\n";
        $exp_cflags .= " -DOPENSSL_FIPSSYMS";
        }
 
        $exp_cflags .= " -DOPENSSL_FIPSSYMS";
        }