From: Ben Laurie Date: Sun, 7 Sep 2003 11:13:54 +0000 (+0000) Subject: Missing file. X-Git-Tag: BEN_FIPS_TEST_1~58 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=104f570c730b78b09941ad55caac7f92b12d0c9d;p=oweals%2Fopenssl.git Missing file. --- diff --git a/fips/aes/.cvsignore b/fips/aes/.cvsignore index 5963d4fb60..a4d8b70f2d 100644 --- a/fips/aes/.cvsignore +++ b/fips/aes/.cvsignore @@ -1,4 +1,5 @@ lib fips_aesavs +fips_aesavs.sha1 testlist Makefile.save diff --git a/fips/aes/fips_aes_data/list b/fips/aes/fips_aes_data/list deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/fips/des/.cvsignore b/fips/des/.cvsignore index 8e3401a5b4..16404ae60a 100644 --- a/fips/des/.cvsignore +++ b/fips/des/.cvsignore @@ -1,3 +1,4 @@ lib fips_desmovs +fips_desmovs.sha1 testlist diff --git a/fips/dsa/.cvsignore b/fips/dsa/.cvsignore index e32a5ba021..9ed0f90481 100644 --- a/fips/dsa/.cvsignore +++ b/fips/dsa/.cvsignore @@ -1,3 +1,4 @@ Makefile.save lib fips_dssvs +fips_dssvs.sha1 diff --git a/fips/openssl_fips_fingerprint b/fips/openssl_fips_fingerprint new file mode 100755 index 0000000000..98f69f2c4d --- /dev/null +++ b/fips/openssl_fips_fingerprint @@ -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 diff --git a/fips/sha1/.cvsignore b/fips/sha1/.cvsignore index ba5158a0fa..09d5ab83e7 100644 --- a/fips/sha1/.cvsignore +++ b/fips/sha1/.cvsignore @@ -2,3 +2,4 @@ Makefile.save lib fips_standalone_sha1 fips_sha1test +fips_sha1test.sha1