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 a8b3b35e806e7da3106121bae3e666decc424b2c..4705a54063a12ff5f9ff905da2619a89d5350365 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
                {