Commit 9518f36 1 parent 5479708 commit 9518f36 Copy full SHA for 9518f36
File tree 2 files changed +12
-10
lines changed
2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ set -eu
16
16
pushd " $( pwd) "
17
17
18
18
usage () {
19
- echo " install_awslc.sh build_dir install_dir is_fips"
19
+ echo -e " \tinstall_awslc.sh build_dir install_dir\n"
20
+ echo -e " \tIf you need FIPS, use the FIPS specific install script.\n"
20
21
exit 1
21
22
}
22
23
26
27
27
28
BUILD_DIR=$1
28
29
INSTALL_DIR=$2
29
- IS_FIPS=$3
30
30
31
31
if [[ ! -f " $( which clang) " ]]; then
32
32
echo " Could not find clang"
35
35
36
36
# These tags represents the latest versions that S2N is compatible
37
37
# with. It prevents our build system from breaking when AWS-LC
38
- # is updated, last done on 2023-02-22.
39
- if [ " $IS_FIPS " == " 1" ]; then
40
- AWSLC_VERSION=AWS-LC-FIPS-1.0.3
41
- else
42
- AWSLC_VERSION=v1.36.0
43
- fi
38
+ # is updated.
39
+ AWSLC_VERSION=v1.47.0
40
+
44
41
mkdir -p " $BUILD_DIR " || true
45
42
cd " $BUILD_DIR "
46
43
echo " Checking out tag=$AWSLC_VERSION "
Original file line number Diff line number Diff line change @@ -50,12 +50,17 @@ INSTALL_DIR=$2
50
50
VERSION=$3
51
51
52
52
# Map version to a specific feature branch/tag.
53
+ # Note: since the next FIPS validation will be split off from main
54
+ # building main with FIPS enabled is essentially the next FIPS release.
53
55
case $VERSION in
54
56
" 2022" )
55
- AWSLC_BRANCH=AWS-LC-FIPS-2.0.17
57
+ AWSLC_BRANCH=fips-2022-11-02
56
58
;;
57
59
" 2024" )
58
- AWSLC_BRANCH=AWS-LC-FIPS-3.0.0
60
+ AWSLC_BRANCH=fips-2024-09-27
61
+ ;;
62
+ " next" )
63
+ AWSLC_BRANCH=main
59
64
;;
60
65
* )
61
66
echo " Unknown version: $VERSION "
You can’t perform that action at this time.
0 commit comments