mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 19:04:19 +01:00
all.sh: test with SHA-1 enabled
Enabling SHA-1 for certificates is deprecated but we still want it to work. Thanks to @andresag01
This commit is contained in:
parent
5d2511c4d4
commit
2a458daa11
@ -486,6 +486,15 @@ armc6_build_test "--target=arm-arm-none-eabi -march=armv8.2-a"
|
|||||||
armc6_build_test "--target=arm-arm-none-eabi -march=armv8-m.main"
|
armc6_build_test "--target=arm-arm-none-eabi -march=armv8-m.main"
|
||||||
armc6_build_test "--target=aarch64-arm-none-eabi"
|
armc6_build_test "--target=aarch64-arm-none-eabi"
|
||||||
|
|
||||||
|
msg "build: allow SHA1 in certificates by default"
|
||||||
|
cleanup
|
||||||
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
|
scripts/config.pl set MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES
|
||||||
|
CFLAGS='-Werror -Wall -Wextra' make
|
||||||
|
msg "test: allow SHA1 in certificates by default"
|
||||||
|
make test
|
||||||
|
tests/ssl-opt.sh -f SHA-1
|
||||||
|
|
||||||
msg "build: Windows cross build - mingw64, make (Link Library)" # ~ 30s
|
msg "build: Windows cross build - mingw64, make (Link Library)" # ~ 30s
|
||||||
cleanup
|
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user