summaryrefslogtreecommitdiffstats
path: root/fips
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-10-04 16:43:39 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-10-04 16:43:39 +0000
commitd7050b44243dbe0d1c74c0c1258756f497e8c1a4 (patch)
tree7981e5072421070bc8f27604efd855b00932434c /fips
parent91ca332058992efef6137d22808176b925c7cfc7 (diff)
Fix warnings about ignoring fgets return value
Diffstat (limited to 'fips')
-rwxr-xr-xfips/fipsld5
1 files changed, 5 insertions, 0 deletions
diff --git a/fips/fipsld b/fips/fipsld
index c71d4d95a5..461f1effdd 100755
--- a/fips/fipsld
+++ b/fips/fipsld
@@ -118,11 +118,14 @@ 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}" \
@@ -157,6 +160,8 @@ lib*|*.dll) # must be linking a shared lib...
# 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