forked from wolfSSL/wolfssl
Added fips-check script when running commit-tests.
This commit is contained in:
11
autogen.sh
11
autogen.sh
@@ -11,6 +11,17 @@ if test -d .git; then
|
||||
ln -s -f ../../pre-commit.sh .git/hooks/pre-commit
|
||||
fi
|
||||
|
||||
# Set HAVE_FIPS_SOURCE to 1 in your .profile if you have access to the FIPS
|
||||
# repository. (Hint: If you don't work for us, you don't. This will fail.)
|
||||
if test $HAVE_FIPS_SOURCE -a ! -d ./fips; then
|
||||
git clone git@github.com:wolfSSL/fips.git
|
||||
SAVEDIR=`pwd`
|
||||
cd ./ctaocrypt/src
|
||||
ln -sf ../../fips/fips.c
|
||||
ln -sf ../../fips/fips_test.c
|
||||
cd $SAVEDIR
|
||||
fi
|
||||
|
||||
# If this is a source checkout then call autoreconf with error as well
|
||||
if test -d .git; then
|
||||
WARNINGS="all,error"
|
||||
|
Reference in New Issue
Block a user