Missing file.
This commit is contained in:
parent
e1015c1fe7
commit
104f570c73
6 changed files with 18 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
lib
|
||||
fips_aesavs
|
||||
fips_aesavs.sha1
|
||||
testlist
|
||||
Makefile.save
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
lib
|
||||
fips_desmovs
|
||||
fips_desmovs.sha1
|
||||
testlist
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
Makefile.save
|
||||
lib
|
||||
fips_dssvs
|
||||
fips_dssvs.sha1
|
||||
|
|
14
fips/openssl_fips_fingerprint
Executable file
14
fips/openssl_fips_fingerprint
Executable 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
|
|
@ -2,3 +2,4 @@ Makefile.save
|
|||
lib
|
||||
fips_standalone_sha1
|
||||
fips_sha1test
|
||||
fips_sha1test.sha1
|
||||
|
|
Loading…
Reference in a new issue