Missing file.
authorBen Laurie <ben@openssl.org>
Sun, 7 Sep 2003 11:13:54 +0000 (11:13 +0000)
committerBen Laurie <ben@openssl.org>
Sun, 7 Sep 2003 11:13:54 +0000 (11:13 +0000)
fips/aes/.cvsignore
fips/aes/fips_aes_data/list [deleted file]
fips/des/.cvsignore
fips/dsa/.cvsignore
fips/openssl_fips_fingerprint [new file with mode: 0755]
fips/sha1/.cvsignore

index 5963d4fb605d6aa06600cfe6bd3aeb2056f98ac0..a4d8b70f2dc34272dfe047d4c88bb62ab1c2d673 100644 (file)
@@ -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 (file)
index e69de29..0000000
index 8e3401a5b496febe74018a840374cb937e8879aa..16404ae60a235e1716503d28959a86e958f11e6b 100644 (file)
@@ -1,3 +1,4 @@
 lib
 fips_desmovs
+fips_desmovs.sha1
 testlist
index e32a5ba02148cea3499f2f0120429f82d6979312..9ed0f904819cc577e563a9be30e025d2250d6158 100644 (file)
@@ -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 (executable)
index 0000000..98f69f2
--- /dev/null
@@ -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
index ba5158a0fac2d9191d6217bd48b85e62c03e4e9f..09d5ab83e7dac87e0c8057bece1cf6331c042243 100644 (file)
@@ -2,3 +2,4 @@ Makefile.save
 lib
 fips_standalone_sha1
 fips_sha1test
+fips_sha1test.sha1