diff --git a/fips-check.sh b/fips-check.sh index c77f3b707..bd71c8724 100755 --- a/fips-check.sh +++ b/fips-check.sh @@ -193,14 +193,17 @@ do done # The following is temporary. We are using random.c from a separate release -if [ "x$CAVP_SELFTEST_ONLY" == "xno" ]; -then - pushd old-tree - git checkout v3.6.0 - popd - cp old-tree/$WC_SRC_PATH/random.c $WC_SRC_PATH - cp old-tree/$WC_INC_PATH/random.h $WC_INC_PATH -fi +# This is forcefully overwriting any other checkout of the cyassl sources. +# Removing this as default behavior but leaving in comment to allow for easy +# reference if needed for any testing. Chris to remove when ready. +#if [ "x$CAVP_SELFTEST_ONLY" == "xno" ]; +#then +# pushd old-tree +# git checkout v3.6.0 +# popd +# cp old-tree/$WC_SRC_PATH/random.c $WC_SRC_PATH +# cp old-tree/$WC_INC_PATH/random.h $WC_INC_PATH +#fi # clone the FIPS repository git clone -b $FIPS_VERSION $FIPS_REPO fips