From 95db44def33260e4799735473aa4110e532a1f05 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Thu, 30 Jul 2015 16:33:14 -0700 Subject: [PATCH] remove autogen clone of fips repo; pre-push runs fips-check if fips directory exists --- autogen.sh | 11 ----------- pre-push.sh | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) 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