Install FIPS module in FIPSDIR if set.

This commit is contained in:
Dr. Stephen Henson 2011-06-09 21:52:44 +00:00
parent 603bc9395c
commit a1a8a71cf7

View file

@ -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
{