Commit b75ff26d authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Don't install fips_standalone_sha1.exe if it isn't being built

parent b440c25d
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -576,9 +576,14 @@ if ($fipscanisteronly)
	\$(CP) \"fips${o}fips_premain.c.sha1\" \"\$(INSTALLTOP)${o}lib\"
	\$(CP) \"\$(INCO_D)${o}fips.h\" \"\$(INSTALLTOP)${o}include${o}openssl\"
	\$(CP) \"\$(INCO_D)${o}fips_rand.h\" \"\$(INSTALLTOP)${o}include${o}openssl\"
	\$(CP) "\$(BIN_D)${o}fips_standalone_sha1$exep" \"\$(INSTALLTOP)${o}bin\"
	\$(CP) \"util${o}fipslink.pl\" \"\$(INSTALLTOP)${o}bin\"
EOF
	if ($fips_sha1_exe_build)
		{
		$extra_install .= <<"EOF";
	\$(CP) "\$(BIN_D)${o}fips_standalone_sha1$exep" \"\$(INSTALLTOP)${o}bin\"
EOF
		}
	}
elsif ($shlib)
	{