Install FIPS module in FIPSDIR if set.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 9 Jun 2011 21:52:44 +0000 (21:52 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 9 Jun 2011 21:52:44 +0000 (21:52 +0000)
Configure

index a8b3b35..4705a54 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1148,7 +1148,14 @@ if ($openssldir eq "" and $prefix eq "")
        {
        if ($fips)
                {
-               $openssldir="/usr/local/ssl/fips-2.0";
+               if (exists $ENV{FIPSDIR})
+                       {
+                       $openssldir="$ENV{FIPSDIR}";
+                       }
+               else
+                       {
+                       $openssldir="/usr/local/ssl/fips-2.0";
+                       }
                }
        else
                {