Missing file.

This commit is contained in:
Ben Laurie 2003-09-07 11:13:54 +00:00
parent e1015c1fe7
commit 104f570c73
6 changed files with 18 additions and 0 deletions

View file

@ -1,4 +1,5 @@
lib
fips_aesavs
fips_aesavs.sha1
testlist
Makefile.save

View file

@ -1,3 +1,4 @@
lib
fips_desmovs
fips_desmovs.sha1
testlist

View file

@ -1,3 +1,4 @@
Makefile.save
lib
fips_dssvs
fips_dssvs.sha1

14
fips/openssl_fips_fingerprint Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
#
# Check the library fingerprint and generate an executable fingerprint, or
# return an error
lib=$1
exe=$2
elib=`echo $lib| sed 's/\//\\\\\//g'`
echo "Checking library fingerprint for $lib"
openssl sha1 $lib | sed "s/$elib/libcrypto.a/" | diff -u ${lib%.a}.sha1 - || { echo "$libs fingerprint mismatch"; exit 1; }
echo "Making fingerprint for $exe"
openssl sha1 -binary $exe > $exe.sha1

View file

@ -2,3 +2,4 @@ Makefile.save
lib
fips_standalone_sha1
fips_sha1test
fips_sha1test.sha1