openssl/fips/fips_check_sha1

9 lines
263 B
Text
Raw Normal View History

#!/bin/sh
FP=$1
shift
2003-09-25 20:04:40 +00:00
egrep 'define OPENSSL_FIPS' $TOP/include/openssl/opensslconf.h > /dev/null || exit 0
2003-10-07 10:55:36 +00:00
$TOP/fips/sha1/fips_standalone_sha1 $@ | diff $FP - || { echo; echo "*** Your source code does not match the FIPS certified source ***"; echo; exit 1; }