openssl/fips/fips_check_sha1
2004-07-27 12:22:08 +00:00

8 lines
263 B
Bash
Executable file

#!/bin/sh
FP=$1
shift
egrep 'define OPENSSL_FIPS' $TOP/include/openssl/opensslconf.h > /dev/null || exit 0
$TOP/fips/sha1/fips_standalone_sha1 $@ | diff $FP - || { echo; echo "*** Your source code does not match the FIPS validated source ***"; echo; exit 1; }