diff --git a/autogen.sh b/autogen.sh index d817ee781..89e475c0b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -12,17 +12,6 @@ if test -d .git; then ln -s -f ../../pre-push.sh .git/hooks/pre-push 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 -n "$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" diff --git a/pre-push.sh b/pre-push.sh index 5315eecb9..f53b27c23 100755 --- a/pre-push.sh +++ b/pre-push.sh @@ -5,7 +5,7 @@ RESULT=0 -if [ -n "$HAVE_FIPS_SOURCE" ]; +if [ -d ./fips ]; then echo "\n\nTesting with FIPS release code...\n\n" ./fips-check.sh