mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-08 09:05:30 +00: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
7344e1bd05
commit
b49351d1aa
|
@ -403,6 +403,15 @@ scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE # execinfo.h
|
|||
scripts/config.pl unset MBEDTLS_MEMORY_BUFFER_ALLOC_C # calls exit
|
||||
CC=armcc AR=armar WARNING_CFLAGS= make lib
|
||||
|
||||
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
|
||||
|
||||
if which i686-w64-mingw32-gcc >/dev/null; then
|
||||
msg "build: cross-mingw64, make" # ~ 30s
|
||||
cleanup
|
||||
|
|
Loading…
Reference in a new issue