Install fips_standalone_sha1 and make use of it in fipsld script.

This commit is contained in:
Dr. Stephen Henson 2011-05-26 13:59:11 +00:00
parent 2bc3ad28b3
commit ed0a35f222
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,7 @@ SRC= $(LIBSRC)
EXHEADER=fips.h fipssyms.h
HEADER=$(EXHEADER) fips_utl.h fips_locl.h
EXE=fipsld
EXE=fipsld fips_standalone_sha1
ALL= $(GENERAL) $(SRC) $(HEADER)

View File

@ -138,6 +138,8 @@ lib*|*.dll) # must be linking a shared lib...
# directory or off the installed binary target destination.
if [ -x "${THERE}/fips/fips_standalone_sha1" ]; then
FINGERTYPE="${THERE}/fips/fips_standalone_sha1"
elif [ -x "${THERE}/bin/fips_standalone_sha1" ]; then
FINGERTYPE="${THERE}/bin/fips_standalone_sha1"
else # Installed tree is expected to contain
# lib/fipscanister.o, lib/fipscanister.o.sha1 and
# lib/fips_premain.c [not to mention bin/openssl].