Don't limit RSA_NO_CRT test in all.sh to 64-bit systems

Compilation and test for the `MBEDTLS_RSA_NO_CRT` option were
previously guarded by a check for 64-bit systems, for which there
is no reason. This commit moves both outside of the guard.
This commit is contained in:
Hanno Becker 2018-01-03 10:03:43 +00:00
parent 4952e7a8d6
commit e963efa110

View File

@ -471,15 +471,6 @@ msg "build: i386, make, gcc" # ~ 30s
cleanup
CC=gcc CFLAGS='-Werror -Wall -Wextra -m32' make
msg "build: default config, MBEDTLS_RSA_NO_CRT, make, gcc"
cleanup
cp "$CONFIG_H" "$CONFIG_BAK"
scripts/config.pl set MBEDTLS_RSA_NO_CRT
CC=gcc CFLAGS='-Werror -Wall -Werror -O0' make
msg "test: MBEDTLS_RSA_NO_CRT - main suites (inc. selftests) (ASan build)"
make test
msg "build: gcc, force 32-bit compilation"
cleanup
cp "$CONFIG_H" "$CONFIG_BAK"
@ -592,6 +583,15 @@ msg "test: allow SHA1 in certificates by default"
make test
tests/ssl-opt.sh -f SHA-1
msg "build: default config, MBEDTLS_RSA_NO_CRT, make, gcc"
cleanup
cp "$CONFIG_H" "$CONFIG_BAK"
scripts/config.pl set MBEDTLS_RSA_NO_CRT
CC=gcc CFLAGS='-Werror -Wall -Werror -O0' make
msg "test: MBEDTLS_RSA_NO_CRT - main suites (inc. selftests) (ASan build)"
make test
msg "build: Windows cross build - mingw64, make (Link Library)" # ~ 30s
cleanup
CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar LD=i686-w64-minggw32-ld CFLAGS='-Werror -Wall -Wextra' WINDOWS_BUILD=1 make lib programs