From: Andy Polyakov Date: Sun, 26 Aug 2007 08:51:23 +0000 (+0000) Subject: Short circuit ranlib in trap handler. X-Git-Tag: FIPS_098_TEST_5~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=67c31c4b613eae3ec07b15c13c43bc93f4ea36c7;p=oweals%2Fopenssl.git Short circuit ranlib in trap handler. --- diff --git a/fips/fipsld b/fips/fipsld index 5d7758144f..542db566b4 100755 --- a/fips/fipsld +++ b/fips/fipsld @@ -128,7 +128,7 @@ libcrypto*|*.dll) # must be linking a shared lib... # Temporarily remove fipscanister.o from libcrypto.a! # We are required to use the standalone copy... trap 'ar r "${THERE}/libcrypto.a" "${CANISTER_O}"; - (ranlib "${THERE}/libcrypto.a") 2>/dev/null; + (ranlib "${THERE}/libcrypto.a") 2>/dev/null || :; sleep 1; touch -c "${TARGET}"' 0