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

Oops!

parent 381a9f04
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -118,14 +118,11 @@ lib*|*.dll) # must be linking a shared lib...

	# generate signature...
	SIG=`"${THERE}/fips/fips_premain_dso" "${TARGET}"`
echo $TARGET: $SIG >>/tmp/fipsld.log
incore $TARGET >>/tmp/fipsld.log 2>&1
	/bin/rm -f "${TARGET}"
	if [ -z "${SIG}" ]; then
	   echo "unable to collect signature"; exit 1
	fi


	# recompile with signature...
	${CC}	${CANISTER_O_CMD:+"${CANISTER_O_CMD}"} \
		-DHMAC_SHA1_SIG=\"${SIG}\" "${PREMAIN_C}" \
@@ -160,8 +157,6 @@ incore $TARGET >>/tmp/fipsld.log 2>&1

	# generate signature...
	SIG=`"${TARGET}"`
echo $TARGET: $SIG >>/tmp/fipsld.log
incore $TARGET >>/tmp/fipsld.log 2>&1
	/bin/rm -f "${TARGET}"
	if [ -z "${SIG}" ]; then
	   echo "unable to collect signature"; exit 1