$(EXE): progs.h $(E_OBJ) $(PROGRAM).o $(DLIBCRYPTO) $(DLIBSSL)
$(RM) $(EXE)
@if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
- FIPSLD_CC=$(CC); CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
+ FIPSLD_CC=$(CC); CC=$(TOP)/fips-1.0/fipsld; export CC FIPSLD_CC; \
fi; \
SHARED_LIBS="$(SHARED_LIBS)"; \
if [ "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \
*libcrypto*|*.dll) # must be linking a shared lib...
# Shared lib creation can be taking place in the source
# directory only!!!
- FINGERTYPE="${THERE}/fips/sha/fips_standalone_sha1"
- CANISTER_O="${THERE}/fips/fipscanister.o"
- PREMAIN_C="${THERE}/fips/fips_premain.c"
+ FINGERTYPE="${THERE}/fips-1.0/sha/fips_standalone_sha1"
+ CANISTER_O="${THERE}/fips-1.0/fipscanister.o"
+ PREMAIN_C="${THERE}/fips-1.0/fips_premain.c"
# verify fipscanister.o against its detached signature...
${FINGERTYPE} "${CANISTER_O}" | sed "s/(.*\//(/" | \
${_WL_PREMAIN} "$@"
# generate signature...
- SIG=`("${THERE}/fips/fips_premain_dso" "${TARGET}" || rm "${TARGET}")`
+ SIG=`("${THERE}/fips-1.0/fips_premain_dso" "${TARGET}" || rm "${TARGET}")`
if [ -z "${SIG}" ]; then
echo "unable to collect signature"; exit 1
fi
*) # must be linking statically...
# Static linking can be taking place either in the source
# directory or off the installed binary target destination.
- if [ -x "${THERE}/fips/sha/fips_standalone_sha1" ]; then
- FINGERTYPE="${THERE}/fips/sha/fips_standalone_sha1"
- CANISTER_O="${THERE}/fips/fipscanister.o"
- PREMAIN_C="${THERE}/fips/fips_premain.c"
+ if [ -x "${THERE}/fips-1.0/sha/fips_standalone_sha1" ]; then
+ FINGERTYPE="${THERE}/fips-1.0/sha/fips_standalone_sha1"
+ CANISTER_O="${THERE}/fips-1.0/fipscanister.o"
+ PREMAIN_C="${THERE}/fips-1.0/fips_premain.c"
else # Installed tree is expected to contain
# lib/fipscanister.o, lib/fipscanister.o.sha1 and
# lib/fips_premain.c [not to mention bin/openssl].
fi
FIPS_BUILD_CMD=if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
- FIPSLD_CC=$(CC); CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
+ FIPSLD_CC=$(CC); CC=$(TOP)/fips-1.0/fipsld; export CC FIPSLD_CC; \
fi; $(BUILD_CMD)
$(FIPS_AESTEST)$(EXE_EXT): $(FIPS_AESTEST).o $(DLIBCRYPTO)