Răsfoiți Sursa

added a make clean after updating the verify hash when running the fips check

John Safranek 9 ani în urmă
părinte
comite
438cb515d5
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      fips-check.sh

+ 1 - 0
fips-check.sh

@@ -47,6 +47,7 @@ make
 NEWHASH=`./ctaocrypt/test/testctaocrypt | sed -n 's/hash = \(.*\)/\1/p'`
 if [ -n "$NEWHASH" ]; then
     sed -i.bak "s/^\".*\";/\"${NEWHASH}\";/" $WC_SRC_PATH/fips_test.c
+    make clean
 fi
 
 make test