Skip to content

Commit

Permalink
Pin the version of aws-lc-verification to a known working version (#1895
Browse files Browse the repository at this point in the history
)

### Description of changes: 
Previously this script always used the head of aws-lc-verification which
has diverged from this branch since the code on the fips-2022-11-02
branch is a snapshot of AWS-LC.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license and the ISC license.
  • Loading branch information
andrewhop authored Oct 8, 2024
2 parents 72d3b02 + b9709bf commit bf1fc53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/ci/run_formal_verification.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ cd ../
ROOT=$(pwd)

rm -rf aws-lc-verification-build
git clone --recurse-submodules https://github.com/awslabs/aws-lc-verification.git aws-lc-verification-build
git clone --branch fips-2022-11-02 --depth 1 https://github.com/awslabs/aws-lc-verification.git aws-lc-verification-build

cd aws-lc-verification-build
git submodule update --init --depth 1

# aws-lc-verification has aws-lc as one submodule under 'src' dir.
# Below is to copy code of **target** aws-lc to 'src' dir.
rm -rf ./src/* && cp -r "${ROOT}/${AWS_LC_DIR}/"* ./src
Expand Down

0 comments on commit bf1fc53

Please sign in to comment.