3 # Check the library fingerprint and generate an executable fingerprint, or
9 # deal with the case where we're run from within the build and OpenSSL is
10 # not yet installed. Also, make sure LD_LIBRARY_PATH is properly set in
11 # case shared libraries are built.
15 LD_LIBRARY_PATH=$TOP; export LD_LIBRARY_PATH
17 LD_LIBRARY_PATH=.; export LD_LIBRARY_PATH
20 echo "Checking library fingerprint for $lib"
21 openssl sha1 -hmac etaonrishdlcupfm $lib | sed "s/(.*\//(/" | diff $lib.sha1 - || { echo "$libs fingerprint mismatch"; exit 1; }
23 echo "Making fingerprint for $exe"
24 openssl sha1 -hmac etaonrishdlcupfm -binary $exe > $exe.sha1