David Horstmann c2ab398d01 Request C11 in CMake (but only for tests)
Set the C_STANDARD property on the mbedtls_test target to 11.
This requests C11 for the tests only.

If C11 is not supported the build will not fail, since
C_STANDARD_REQUIRED is not set, and memory poisoning will be disabled
by a preprocessor check on __STDC_VERSION__.

Additionally, reintroduce previous C99 enforcement on the rest of the
library.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
2024-01-17 14:02:40 +00:00
..
.jenkins Add a Jenkinsfile for PR job testing 2018-10-19 16:41:54 +01:00
configs update headers 2023-11-02 19:47:20 +00:00
data_files Merge pull request #7649 from yuhaoth/pr/add-command-for-server9-bad-saltlen 2023-11-20 14:07:19 +00:00
docker/bionic update headers 2023-11-02 19:47:20 +00:00
git-scripts update headers 2023-11-02 19:47:20 +00:00
include Use thread-local flag to enable memory poisoning 2024-01-12 15:13:54 +00:00
opt-testcases replace check string 2023-11-21 09:59:25 +08:00
scripts Add all.sh coponent to test with copying disabled 2023-12-20 11:10:16 +00:00
src Use thread-local flag to enable memory poisoning 2024-01-12 15:13:54 +00:00
suites Move wrapper include to psa_crypto_helpers.h 2023-12-14 16:09:07 +00:00
.gitignore Revert "Auto-generated files for v3.5.0" 2023-10-05 00:17:21 +01:00
CMakeLists.txt Request C11 in CMake (but only for tests) 2024-01-17 14:02:40 +00:00
compat-in-docker.sh update headers 2023-11-02 19:47:20 +00:00
compat.sh Merge pull request #8462 from daverodgman/license-change 2023-11-04 15:47:07 +01:00
context-info.sh update headers 2023-11-02 19:47:20 +00:00
Descriptions.txt Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00
make-in-docker.sh update headers 2023-11-02 19:47:20 +00:00
Makefile Revert "Auto-generated files for v3.5.0" 2023-10-05 00:17:21 +01:00
ssl-opt-in-docker.sh update headers 2023-11-02 19:47:20 +00:00
ssl-opt.sh Align forced ciphersuite with test description 2023-11-28 17:52:42 +01:00