mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 08:18:23 +00:00
Merge remote-tracking branch 'public/pr/1390' into development
This commit is contained in:
commit
6665b67ddf
2 changed files with 20 additions and 0 deletions
|
@ -828,6 +828,7 @@ static int cmac_test_subkeys( int verbose,
|
||||||
mbedtls_cipher_free( &ctx );
|
mbedtls_cipher_free( &ctx );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ret = 0;
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
@ -883,6 +884,7 @@ static int cmac_test_wth_cipher( int verbose,
|
||||||
if( verbose != 0 )
|
if( verbose != 0 )
|
||||||
mbedtls_printf( "passed\n" );
|
mbedtls_printf( "passed\n" );
|
||||||
}
|
}
|
||||||
|
ret = 0;
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
return( ret );
|
return( ret );
|
||||||
|
|
|
@ -546,6 +546,24 @@ if_build_succeeded env OPENSSL_CMD="$OPENSSL_LEGACY" GNUTLS_CLI="$GNUTLS_LEGACY_
|
||||||
msg "test: compat.sh ARIA"
|
msg "test: compat.sh ARIA"
|
||||||
if_build_succeeded env OPENSSL_CMD="$OPENSSL_NEXT" tests/compat.sh -e '^$' -f 'ARIA'
|
if_build_succeeded env OPENSSL_CMD="$OPENSSL_NEXT" tests/compat.sh -e '^$' -f 'ARIA'
|
||||||
|
|
||||||
|
msg "build: make, full config + DEPRECATED_WARNING, gcc -O" # ~ 30s
|
||||||
|
cleanup
|
||||||
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
|
scripts/config.pl full
|
||||||
|
scripts/config.pl set MBEDTLS_DEPRECATED_WARNING
|
||||||
|
# Build with -O -Wextra to catch a maximum of issues.
|
||||||
|
make CC=gcc CFLAGS='-O -Werror -Wall -Wextra' lib programs
|
||||||
|
make CC=gcc CFLAGS='-O -Werror -Wall -Wextra -Wno-unused-function' tests
|
||||||
|
|
||||||
|
msg "build: make, full config + DEPRECATED_REMOVED, clang -O" # ~ 30s
|
||||||
|
# No cleanup, just tweak the configuration and rebuild
|
||||||
|
make clean
|
||||||
|
scripts/config.pl unset MBEDTLS_DEPRECATED_WARNING
|
||||||
|
scripts/config.pl set MBEDTLS_DEPRECATED_REMOVED
|
||||||
|
# Build with -O -Wextra to catch a maximum of issues.
|
||||||
|
make CC=clang CFLAGS='-O -Werror -Wall -Wextra' lib programs
|
||||||
|
make CC=clang CFLAGS='-O -Werror -Wall -Wextra -Wno-unused-function' tests
|
||||||
|
|
||||||
msg "test/build: curves.pl (gcc)" # ~ 4 min
|
msg "test/build: curves.pl (gcc)" # ~ 4 min
|
||||||
cleanup
|
cleanup
|
||||||
record_status tests/scripts/curves.pl
|
record_status tests/scripts/curves.pl
|
||||||
|
|
Loading…
Reference in a new issue